aboutsummaryrefslogtreecommitdiff
path: root/target/linux/realtek/base-files/etc/board.d/03_gpio_switches
blob: 1e49d89c64a2414fe2f44c07c3aa24549c73d9f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
. /lib/functions/uci-defaults.sh

board_config_update

board=$(board_name)

case "$board" in
hpe,1920-8g-poe-180w)
	ucidef_add_gpio_switch "fan_ctrl" "Fan control" "456" "0"
	;;
esac

board_config_flush

exit 0