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

18 lines
224 B
Bash
Executable File

#!/bin/sh
. /lib/functions/uci-defaults.sh
board_config_update
board=$(board_name)
case "$board" in
compex,wpj428)
ucidef_add_gpio_switch "sim_card_select" "SIM card select" "3" "0"
;;
esac
board_config_flush
exit 0