projects
/
openwrt
/
staging
/
mkresin.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ath79: add support for EnGenius EWS511AP
[openwrt/staging/mkresin.git]
/
target
/
linux
/
ath79
/
base-files
/
etc
/
board.d
/
03_gpio_switches
1
#!/bin/sh
2
#
3
# Copyright (C) 2018 OpenWrt.org
4
#
5
6
.
/
lib
/
function
s
/
uci-defaults.sh
7
8
board_config_update
9
10
board
=
$
(
board_name
)
11
12
case
"
$board
"
in
13
dlink
,
dir-825-c1|\
14
dlink
,
dir-835-a1
)
15
ucidef_add_gpio_switch
"wan_led_auto"
"WAN LED Auto"
"20"
"0"
16
;;
17
ubnt
,
nanostation-ac
)
18
ucidef_add_gpio_switch
"poe_passthrough"
"PoE Passthrough"
"3"
19
;;
20
esac
21
22
board_config_flush
23
24
exit
0