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 | e5ef34ba02ecc5e6953ab448d16c89b61682bce7 (patch) | |
tree | 7eb89ff317ba7e7ce1283efc3c9fe9611f639c3b /target/linux/realview/base-files | |
parent | bc96c49c67076fd3516ee5225e4ca863c9111bdd (diff) | |
download | openwrt-e5ef34ba02ecc5e6953ab448d16c89b61682bce7.tar.gz openwrt-e5ef34ba02ecc5e6953ab448d16c89b61682bce7.tar.bz2 openwrt-e5ef34ba02ecc5e6953ab448d16c89b61682bce7.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>
SVN-Revision: 42666
Diffstat (limited to 'target/linux/realview/base-files')
-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" |