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:
@@ -1,9 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /lib/functions.sh
|
||||
. /lib/apm821xx.sh
|
||||
|
||||
BOARD=$(apm821xx_board_name)
|
||||
BOARD=$(board_name)
|
||||
|
||||
if [ $BOARD == "wndr4700" ]; then
|
||||
case "$ACTION" in
|
||||
|
||||
Reference in New Issue
Block a user