aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realview
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2014-09-25 19:09:17 +0000
committerFlorian Fainelli <florian@openwrt.org>2014-09-25 19:09:17 +0000
commite5ef34ba02ecc5e6953ab448d16c89b61682bce7 (patch)
tree7eb89ff317ba7e7ce1283efc3c9fe9611f639c3b /target/linux/realview
parentbc96c49c67076fd3516ee5225e4ca863c9111bdd (diff)
downloadupstream-e5ef34ba02ecc5e6953ab448d16c89b61682bce7.tar.gz
upstream-e5ef34ba02ecc5e6953ab448d16c89b61682bce7.tar.bz2
upstream-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')
-rwxr-xr-xtarget/linux/realview/base-files/etc/uci-defaults/02-network6
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"