diff options
author | Florian Fainelli <florian@openwrt.org> | 2014-09-25 19:09:17 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2014-09-25 19:09:17 +0000 |
commit | c239c5f55943e2e6d408716bd0ac3ade168e99d8 (patch) | |
tree | d832754dd260e0cf3e6d33ecae7456bb2afa1ef2 /target/linux/realview | |
parent | ccd5dae4f1dea070f97ca23f3e43e0a46c130258 (diff) | |
download | upstream-c239c5f55943e2e6d408716bd0ac3ade168e99d8.tar.gz upstream-c239c5f55943e2e6d408716bd0ac3ade168e99d8.tar.bz2 upstream-c239c5f55943e2e6d408716bd0ac3ade168e99d8.zip |
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
Diffstat (limited to 'target/linux/realview')
-rwxr-xr-x | target/linux/realview/base-files/etc/uci-defaults/02-network | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/target/linux/realview/base-files/etc/uci-defaults/02-network b/target/linux/realview/base-files/etc/uci-defaults/02-network index 76d3f8d33a..e90ecbe6b2 100755 --- a/target/linux/realview/base-files/etc/uci-defaults/02-network +++ b/target/linux/realview/base-files/etc/uci-defaults/02-network @@ -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" |