mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-12 18:05:15 +00:00
realview: add protocol argument to ucidef_set_interface_raw
Now that ucidef_set_interface_raw() has been updated to take a protocol argument, use that. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 42666
This commit is contained in:
parent
bc96c49c67
commit
e5ef34ba02
@ -3,8 +3,4 @@
|
|||||||
. /lib/functions/uci-defaults.sh
|
. /lib/functions/uci-defaults.sh
|
||||||
|
|
||||||
ucidef_set_interface_loopback
|
ucidef_set_interface_loopback
|
||||||
ucidef_set_interface_raw "lan" "eth0"
|
ucidef_set_interface_raw "lan" "eth0" "dhcp"
|
||||||
|
|
||||||
uci batch <<EOF
|
|
||||||
set network.lan.proto='dhcp'
|
|
||||||
EOF
|
|
||||||
|
Loading…
Reference in New Issue
Block a user