[package] base-files: skip LEDs handled by rssileds in led init-script
authorFlorian Fainelli <florian@openwrt.org>
Thu, 11 Oct 2012 06:45:02 +0000 (06:45 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Thu, 11 Oct 2012 06:45:02 +0000 (06:45 +0000)
commitb6a287eb5e465d029331d1f1a889dfa8f20e53b7
tree0cdb15ba996d81d48bb2d22567a9df24592ba419
parent1666aea57fbc60c7628459b7ff5c012f221db13e
[package] base-files: skip LEDs handled by rssileds in led init-script

Without this, /etc/init.d/led will try to set the non-existing 'rssi' trigger.
This doesn't harm as the kernel will refuse this setting, but it outputs some
ugly log-lines:
Jun 24 10:15:19 OpenWrt user.info sysinit: setting up led RSSILOW
Jun 24 10:15:19 OpenWrt user.info sysinit: sh: write error: Invalid argument
...

In order to avoid this, skip LEDs with trigger = "rssi" in /etc/init.d/led

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33717
package/base-files/Makefile
package/base-files/files/etc/init.d/led