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:
@@ -41,9 +41,7 @@ migrate_leds()
|
||||
config_foreach do_led_update_sysfs led "$@"
|
||||
}
|
||||
|
||||
. /lib/ar71xx.sh
|
||||
|
||||
board=$(ar71xx_board_name)
|
||||
board=$(board_name)
|
||||
|
||||
case "$board" in
|
||||
dhp-1565-a1|\
|
||||
|
||||
Reference in New Issue
Block a user