You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
263 B
21 lines
263 B
6 years ago
|
#!/bin/sh
|
||
|
#
|
||
|
# Copyright (C) 2018 OpenWrt.org
|
||
|
#
|
||
|
|
||
|
. /lib/functions/uci-defaults.sh
|
||
|
|
||
|
board_config_update
|
||
|
|
||
|
board=$(board_name)
|
||
|
|
||
|
case "$board" in
|
||
|
ubnt,nanostation-ac)
|
||
|
ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "3"
|
||
|
;;
|
||
|
esac
|
||
|
|
||
|
board_config_flush
|
||
|
|
||
|
exit 0
|