From f68f14cc30fcdf07551b1d89628f198f07fc0264 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Thu, 3 Jul 2014 17:19:10 +0000 Subject: [PATCH] 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 --- .../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 00000000000..76d3f8d33ae --- /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 <