You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
324 B
Bash
21 lines
324 B
Bash
#!/bin/sh
|
|
|
|
. /lib/functions/uci-defaults.sh
|
|
|
|
board_config_update
|
|
|
|
board=$(board_name)
|
|
|
|
case "$board" in
|
|
cilab,meshpoint-one)
|
|
ucidef_add_gpio_switch "poe_passtrough" "POE passtrough enable" "413" "1"
|
|
;;
|
|
compex,wpj428)
|
|
ucidef_add_gpio_switch "sim_card_select" "SIM card select" "3" "0"
|
|
;;
|
|
esac
|
|
|
|
board_config_flush
|
|
|
|
exit 0
|