From: Florian Fainelli Date: Thu, 3 Jul 2014 17:19:10 +0000 (+0000) Subject: realview: set LAN interface to be in DHCP X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f68f14cc30fcdf07551b1d89628f198f07fc0264;p=openwrt%2Fstaging%2Frobimarko.git 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 SVN-Revision: 41495 --- 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 <