[FS#321] BTHomeHub5 Type A dsl_notify.sh fails to set LED

LEDE Bugs lede-bugs at lists.infradead.org
Mon Dec 5 05:49:52 PST 2016


The following task has a new comment added:

FS#321 - BTHomeHub5 Type A dsl_notify.sh fails to set LED
User who did this - Mauro Mozzarelli (ezplanet)

----------
It would be nice to have it back as it was with OpenWrt. It was just fine.
That is: ppp is down, "b" blue goes out and turns red thanks to my trigger:

/etc/hotplug.d/05-wan_led

#!/bin/sh
BROADBAND_RED="/sys/class/leds/bthomehubv5a:red:broadband/brightness"
POWER_RED="/sys/class/leds/bthomehubv5a:red:power/brightness"
if [ $INTERFACE == "wan" ]; then
	case "$ACTION" in
		ifup)
			echo 0 > $BROADBAND_RED
			;;
		ifdown)
			echo 255 > $BROADBAND_RED
			;;
	esac
fi

When DSL changes status it flashes accordingly.
Now instead it does nothing at all.

I would be nice, as I said, if you could put it back as it was. Or at least give an option to configure it as it was. Never mind the RGB LED. That is even better because I could mix the colours and have even more states reported as if it were more LEDs!

PLEASE CHANGE IT BACK.
----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=321#comment1005



More information about the lede-bugs mailing list