aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realview/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/realview/base-files')
-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"