OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
4 | office | 1 | #!/bin/sh |
2 | # |
||
3 | # Copyright (C) 2015 OpenWrt.org |
||
4 | # |
||
5 | |||
6 | . /lib/functions/uci-defaults.sh |
||
7 | |||
8 | board_config_update |
||
9 | |||
10 | board=$(board_name) |
||
11 | |||
12 | case "$board" in |
||
13 | cpe210|\ |
||
14 | cpe510|\ |
||
15 | wbs210|\ |
||
16 | wbs510) |
||
17 | ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "20" |
||
18 | ;; |
||
19 | nanostation-m) |
||
20 | ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "8" |
||
21 | ;; |
||
22 | nanostation-m-xw) |
||
23 | ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "2" |
||
24 | ;; |
||
25 | rb-912uag-2hpnd|\ |
||
26 | rb-912uag-5hpnd) |
||
27 | ucidef_add_gpio_switch "usb_power_switch" "USB Power Switch" "61" "1" |
||
28 | ;; |
||
29 | rb-750up-r2|\ |
||
30 | rb-951ui-2nd|\ |
||
31 | rb-952ui-5ac2nd) |
||
32 | ucidef_add_gpio_switch "usb_power_switch" "USB Power Switch" "45" "1" |
||
33 | ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "14" |
||
34 | ;; |
||
35 | rb-750p-pbr2) |
||
36 | ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "14" |
||
37 | ;; |
||
38 | esac |
||
39 | |||
40 | board_config_flush |
||
41 | |||
42 | exit 0 |