Browse Source

malta: add default network configuration

I didn't figure out how to achieve this using uci-defaults-new.sh,
so use old-school uci-defaults script as that's what is used on
realview as well.

Signed-off-by: Daniel Golle <[email protected]>

SVN-Revision: 45857
John Crispin 10 years ago
parent
commit
6938dac23b
1 changed files with 6 additions and 0 deletions
  1. 6 0
      target/linux/malta/base-files/etc/uci-defaults/02-network

+ 6 - 0
target/linux/malta/base-files/etc/uci-defaults/02-network

@@ -0,0 +1,6 @@
+#!/bin/sh
+
+. /lib/functions/uci-defaults.sh
+
+ucidef_set_interface_loopback
+ucidef_set_interface_raw "lan" "eth0" "dhcp"