diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-09-11 18:01:19 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-09-12 01:24:30 +0200 |
commit | 3fc78609615fc88133bc8fb9eff2c6f7b02f7684 (patch) | |
tree | 91612883a5fe771b1435cde9f5a4b37c52e999af /target/linux/ramips/mt7620/base-files/etc | |
parent | 77825f3cfe6f1f1088416ddddfd068af085e9888 (diff) | |
download | upstream-3fc78609615fc88133bc8fb9eff2c6f7b02f7684.tar.gz upstream-3fc78609615fc88133bc8fb9eff2c6f7b02f7684.tar.bz2 upstream-3fc78609615fc88133bc8fb9eff2c6f7b02f7684.zip |
ramips: assign LEDs for RAVPower RP-WD03
According to the User Manual, there is a "Wi-Fi LED" with blue and
green colors, doing the following by default:
Flashing Blue: System loading
Solid Blue: System loaded
Flashing Green: Connecting to the Internet
Solid Green: Connected to the Internet
According to this vendor behavior, we keep refer to the LED as "wifi"
but implement the according default behavior as in OEM firmware.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/mt7620/base-files/etc')
-rwxr-xr-x | target/linux/ramips/mt7620/base-files/etc/board.d/01_leds | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ramips/mt7620/base-files/etc/board.d/01_leds b/target/linux/ramips/mt7620/base-files/etc/board.d/01_leds index 90d1596783..ec86ed4b3f 100755 --- a/target/linux/ramips/mt7620/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/mt7620/base-files/etc/board.d/01_leds @@ -179,6 +179,9 @@ planex,mzk-ex750np|\ zbtlink,zbt-we826-e) set_wifi_led "$boardname:red:wifi" ;; +ravpower,rp-wd03) + ucidef_set_led_netdev "internet" "internet" "$boardname:green:wifi" "eth0" + ;; tplink,archer-c2-v1) ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch1" "0x1e" ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch1" "0x01" |