mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42666 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -3,8 +3,4 @@
|
||||
. /lib/functions/uci-defaults.sh
|
||||
|
||||
ucidef_set_interface_loopback
|
||||
ucidef_set_interface_raw "lan" "eth0"
|
||||
|
||||
uci batch <<EOF
|
||||
set network.lan.proto='dhcp'
|
||||
EOF
|
||||
ucidef_set_interface_raw "lan" "eth0" "dhcp"
|
||||
|
||||
Reference in New Issue
Block a user