mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
f68f14cc30
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 <florian@openwrt.org> SVN-Revision: 41495
11 lines
163 B
Bash
Executable File
11 lines
163 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. /lib/functions/uci-defaults.sh
|
|
|
|
ucidef_set_interface_loopback
|
|
ucidef_set_interface_raw "lan" "eth0"
|
|
|
|
uci batch <<EOF
|
|
set network.lan.proto='dhcp'
|
|
EOF
|