aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/arc770/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/arc770/base-files')
-rwxr-xr-xtarget/linux/arc770/base-files/etc/board.d/02_network3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/arc770/base-files/etc/board.d/02_network b/target/linux/arc770/base-files/etc/board.d/02_network
index dabc539fc8..3f53293700 100755
--- a/target/linux/arc770/base-files/etc/board.d/02_network
+++ b/target/linux/arc770/base-files/etc/board.d/02_network
@@ -3,12 +3,11 @@
# Copyright (C) 2015 OpenWrt.org
#
-. /lib/arc.sh
. /lib/functions/uci-defaults.sh
board_config_update
-case "$( arc_board_name )" in
+case "$(board_name)" in
"arc-sdp"*)
ucidef_set_interface_lan "eth0" "dhcp"
;;