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:
@@ -4,11 +4,10 @@
|
||||
#
|
||||
|
||||
. /lib/functions/uci-defaults.sh
|
||||
. /lib/ipq806x.sh
|
||||
|
||||
board_config_update
|
||||
|
||||
board=$(ipq806x_board_name)
|
||||
board=$(board_name)
|
||||
|
||||
case "$board" in
|
||||
c2600)
|
||||
|
||||
@@ -5,12 +5,11 @@
|
||||
#
|
||||
|
||||
. /lib/functions/uci-defaults.sh
|
||||
. /lib/ipq806x.sh
|
||||
. /lib/functions/system.sh
|
||||
|
||||
board_config_update
|
||||
|
||||
board=$(ipq806x_board_name)
|
||||
board=$(board_name)
|
||||
|
||||
case "$board" in
|
||||
ap148 |\
|
||||
|
||||
Reference in New Issue
Block a user