diff options
author | John Crispin <blogic@openwrt.org> | 2015-05-31 17:45:43 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-05-31 17:45:43 +0000 |
commit | 1ae3b60e05ccb339cfe59475a3f81354d1f90f91 (patch) | |
tree | 249e9554dff070a191a40729a0cc87ad327929e2 /target/linux/malta | |
parent | 4163b0853da8b0dde090b5f8df81b71d3940bdb2 (diff) | |
download | master-187ad058-1ae3b60e05ccb339cfe59475a3f81354d1f90f91.tar.gz master-187ad058-1ae3b60e05ccb339cfe59475a3f81354d1f90f91.tar.bz2 master-187ad058-1ae3b60e05ccb339cfe59475a3f81354d1f90f91.zip |
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 <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45857 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/malta')
-rw-r--r-- | target/linux/malta/base-files/etc/uci-defaults/02-network | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/malta/base-files/etc/uci-defaults/02-network b/target/linux/malta/base-files/etc/uci-defaults/02-network new file mode 100644 index 0000000000..e90ecbe6b2 --- /dev/null +++ b/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" |