immortalwrt/package/base-files/files/etc/init.d
David Bauer 4a97f83839
base-files: disable LEDs if default state is undefined
Set the default state for LEDs to off. When a trigger is set, the
trigger will turn the LED automatically on.

Currently LEDs might stay on, e.g. when the LED trigger is set to a
netdev trigger and the interface is never activated or the 'none'
trigger is selected without setting the 'default' option to 0 and it's
set for the LED indicating the system running state.

Using off as a default value is also consistent with the documentation
in the OpenWrt wiki.

Signed-off-by: David Bauer <mail@david-bauer.net>
2020-08-05 21:04:51 +08:00
..
boot base-files: add soft link to resolv file 2020-07-25 19:58:53 +08:00
done Merge branch master of https://github.com/coolsnowwolf/lede 2019-01-03 19:29:28 +08:00
gpio_switch Merge branch 'master' of github.com:lede-project/source 2018-04-23 18:50:49 +08:00
led base-files: disable LEDs if default state is undefined 2020-08-05 21:04:51 +08:00
sysctl sync with OpenWrt v18.06.1 stable new R8.1 version 2018-08-23 17:40:23 +08:00
sysfixtime update source 2017-09-06 19:19:45 +08:00
system fix some target VLAN switch untagged settings 2018-01-13 16:14:03 +08:00
umount Revert "files: sync from openwrt v19.07 (#2690)" 2020-02-03 12:33:25 +08:00