Now that ucidef_set_interface_raw() has been updated to take a protocol argument, use that. Signed-off-by: Florian Fainelli <[email protected]> SVN-Revision: 42666
@@ -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"