forked from Ivasoft/openwrt
treewide: use the generic board_name function
Use the generic function instead ot the target specific ones. Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
@@ -3,12 +3,11 @@
|
||||
# Copyright (C) 2016 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"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user