19 lines
293 B
Text
19 lines
293 B
Text
|
#!/bin/sh
|
||
|
|
||
|
. /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
|