From f1961ea6ec725dfbbc07abf8489ef28781d8b92a Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Thu, 3 Jul 2014 17:19:10 +0000 Subject: realview: set LAN interface to be in DHCP Realview is mostly used as a QEMU development platform, which will provide a built-in DHCP server to NAT or bridge the connection outside of the emulated environment. Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41495 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/realview/base-files/etc/uci-defaults/02-network | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 target/linux/realview/base-files/etc/uci-defaults/02-network diff --git a/target/linux/realview/base-files/etc/uci-defaults/02-network b/target/linux/realview/base-files/etc/uci-defaults/02-network new file mode 100755 index 0000000000..76d3f8d33a --- /dev/null +++ b/target/linux/realview/base-files/etc/uci-defaults/02-network @@ -0,0 +1,10 @@ +#!/bin/sh + +. /lib/functions/uci-defaults.sh + +ucidef_set_interface_loopback +ucidef_set_interface_raw "lan" "eth0" + +uci batch <