openwrt/target/linux/kirkwood/base-files/etc/board.d/03_gpio_switches

18 lines
283 B
Plaintext

. /lib/functions/uci-defaults.sh
board_config_update
board=$(board_name)
case "$board" in
checkpoint,l-50)
ucidef_add_gpio_switch "mpcie-rst" "mPCIE Card reset" "502" "1"
ucidef_add_gpio_switch "exp-card-rst" "Express Card reset" "497" "1"
;;
esac
board_config_flush
exit 0