ramips: add support for Asus RT-N11P / RT-N12+ / RT-N12E b1
[openwrt/openwrt.git] / target / linux / ramips / base-files / etc / board.d / 03_gpio_switches
index 859dfb31f51244e69d3dce5fc80b329cb57729f3..a847a64d6bb026bb7e7943f8ecec92864eb96ec3 100755 (executable)
@@ -1,11 +1,10 @@
 #!/bin/sh
 
 . /lib/functions/uci-defaults.sh
-. /lib/ramips.sh
 
 board_config_update
 
-board=$(ramips_board_name)
+board=$(board_name)
 
 case "$board" in
 ubnt-erx)