03_gpio_switches 212 B

12345678910111213141516
  1. . /lib/functions/uci-defaults.sh
  2. board_config_update
  3. board=$(board_name)
  4. case "$board" in
  5. hpe,1920-8g-poe-180w)
  6. ucidef_add_gpio_switch "fan_ctrl" "Fan control" "456" "0"
  7. ;;
  8. esac
  9. board_config_flush
  10. exit 0