treewide: use the generic board_name function
[openwrt/staging/mkresin.git] / target / linux / apm821xx / base-files / etc / rc.button / BTN_1
index 995641237b4a0a59d9b4fc5099a8b96e293bf915..c011c857539360cfa7b1f97cce84c4f32133c052 100755 (executable)
@@ -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