Commit 0401fc0
committed
base-files: change LED default behaviour
makes /etc/init.d/led not change brightness by default
To this point LEDs were being turned off by default before setting a
trigger.
Most kernel triggers set operational brightness to max_brightness if it
was set to 0 initially.
This caused RGB LEDs (or LEDs with non-binary brightness in general)
to ignore 'option brightness' in uci unless 'option default 1' was
set.
Signed-off-by: Tomáš Macholda <[email protected]>1 parent aa78fa7 commit 0401fc0
1 file changed
Lines changed: 16 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
| 107 | + | |
107 | 108 | | |
| 109 | + | |
108 | 110 | | |
109 | | - | |
110 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
111 | 114 | | |
112 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
113 | 124 | | |
114 | 125 | | |
115 | 126 | | |
| |||
0 commit comments