From 6938dac23b40bdcd97c4f604b0024c4e2cc0d13e Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sun, 31 May 2015 17:45:43 +0000 Subject: [PATCH] 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 --- 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"