123456789101112131415161718192021222324 |
- #!/bin/sh
- #
- # Copyright (C) 2018 OpenWrt.org
- #
- . /lib/functions/uci-defaults.sh
- board_config_update
- board=$(board_name)
- case "$board" in
- dlink,dir-825-c1|\
- dlink,dir-835-a1)
- ucidef_add_gpio_switch "wan_led_auto" "WAN LED Auto" "20" "0"
- ;;
- ubnt,nanostation-ac)
- ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "3"
- ;;
- esac
- board_config_flush
- exit 0
|