From: John Crispin Date: Sun, 31 May 2015 17:45:43 +0000 (+0000) Subject: malta: add default network configuration X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6938dac23b40bdcd97c4f604b0024c4e2cc0d13e;p=openwrt%2Fstaging%2Fnbd.git 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 SVN-Revision: 45857 --- 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"