From 1ae3b60e05ccb339cfe59475a3f81354d1f90f91 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sun, 31 May 2015 17:45:43 +0000 Subject: 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45857 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/malta/base-files/etc/uci-defaults/02-network | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 target/linux/malta/base-files/etc/uci-defaults/02-network 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" -- cgit v1.2.3