diff options
author | Paul Wassi <p.wassi@gmx.at> | 2019-01-04 23:35:09 +0100 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-02-14 16:56:14 +0100 |
commit | 97fcd2622a7b727bf16c2073f760ea2c52622cd6 (patch) | |
tree | 3002001a642d432d93ae46afde65625f7785e8f6 /target/linux/ath79/base-files | |
parent | 79cc48ff608e0c9c9dcdf6197631783b9646ff82 (diff) | |
download | upstream-97fcd2622a7b727bf16c2073f760ea2c52622cd6.tar.gz upstream-97fcd2622a7b727bf16c2073f760ea2c52622cd6.tar.bz2 upstream-97fcd2622a7b727bf16c2073f760ea2c52622cd6.zip |
ath79: change ledtrig on GL.iNet AR150
Change the ledtrig for LAN from netdev to switch.
Although eth1 comes out of the device at a single port,
this port is a switch-port and therefore the LED
must be triggered by that.
Signed-off-by: Paul Wassi <p.wassi@gmx.at>
Diffstat (limited to 'target/linux/ath79/base-files')
-rwxr-xr-x | target/linux/ath79/base-files/etc/board.d/01_leds | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/01_leds b/target/linux/ath79/base-files/etc/board.d/01_leds index 6b4bec56ce..804f1fca82 100755 --- a/target/linux/ath79/base-files/etc/board.d/01_leds +++ b/target/linux/ath79/base-files/etc/board.d/01_leds @@ -52,7 +52,7 @@ etactica,eg200) ;; glinet,gl-ar150) ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth0" - ucidef_set_led_netdev "lan" "LAN" "$boardname:green:lan" "eth1" + ucidef_set_led_switch "lan" "LAN" "$boardname:green:lan" "switch0" "0x02" ;; glinet,gl-x750) ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth0" |