realtek: add support for HPE 1920-8g-poe+
[openwrt/openwrt.git] / target / linux / realtek / 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 hpe,1920-8g-poe)
10 ucidef_add_gpio_switch "fan_ctrl" "Fan control" "456" "0"
11 ;;
12 esac
13
14 board_config_flush
15
16 exit 0