aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/board.d/01_leds
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2018-05-26 17:26:14 -0700
committerJohn Crispin <john@phrozen.org>2018-05-30 06:36:02 +0200
commit9685f3978795727ac99d5d20a4af16c808b1e24b (patch)
tree119ab08d8fe81d8871652146e54388d9cd09be3e /target/linux/ramips/base-files/etc/board.d/01_leds
parent976c27f2dd8508290568812d0eded3d18cc7c062 (diff)
downloadupstream-9685f3978795727ac99d5d20a4af16c808b1e24b.tar.gz
upstream-9685f3978795727ac99d5d20a4af16c808b1e24b.tar.bz2
upstream-9685f3978795727ac99d5d20a4af16c808b1e24b.zip
ramips: Use generic board detect for GnuBee devices
This is a port of an old commit from mkresin's tree: 09260cdf3e9332978c2a474a58e93a6f2b55f4a8 This has the potential to break sysupgrade but it should be fine as there is no stable release of LEDE or OpenWrt that support these devices. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d/01_leds')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index 88e4c2b7fe..ae5ac77b5e 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -196,7 +196,7 @@ fonera20n)
set_usb_led "$boardname:orange:usb"
set_wifi_led "$boardname:orange:wifi"
;;
-gb-pc1|\
+gnubee,gb-pc1|\
gnubee,gb-pc2)
ucidef_set_led_switch "lan1" "lan1" "$boardname:green:lan1" "switch0" "0x01"
ucidef_set_led_switch "lan2" "lan2" "$boardname:green:lan2" "switch0" "0x10"