treewide: remove execute bit and shebang from board.d files
[openwrt/staging/rmilecki.git] / target / linux / ramips / mt7621 / base-files / etc / board.d / 03_gpio_switches
1
2 . /lib/functions/uci-defaults.sh
3
4 board_config_update
5
6 board=$(board_name)
7
8 case "$board" in
9 mikrotik,routerboard-760igs)
10 ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "497"
11 ;;
12 telco-electronics,x1)
13 ucidef_add_gpio_switch "modem_reset" "Modem Reset" "496"
14 ;;
15 ubnt,edgerouter-x)
16 ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "480"
17 ;;
18 ubnt,edgerouter-x-sfp)
19 ucidef_add_gpio_switch "poe_power_port0" "PoE Power Port0" "400"
20 ucidef_add_gpio_switch "poe_power_port1" "PoE Power Port1" "401"
21 ucidef_add_gpio_switch "poe_power_port2" "PoE Power Port2" "402"
22 ucidef_add_gpio_switch "poe_power_port3" "PoE Power Port3" "403"
23 ucidef_add_gpio_switch "poe_power_port4" "PoE Power Port4" "404"
24 ;;
25 zyxel,wap6805)
26 ucidef_add_gpio_switch "qtn_power" "Quantenna Module Power" "496" "1"
27 ;;
28 esac
29
30 board_config_flush
31
32 exit 0