mirror of
https://github.com/openwrt/packages.git
synced 2025-07-16 23:24:46 +00:00
While an empty led_sysfs definition works as intended (no LED state is touched), an error message is generated, since the appropriate sysfs interface does not exist: Sat Feb 27 16:42:55 2016 user.err wifitoggle: led: not found This patch makes sure that no such error message will be generated. Signed-off-by: Karol Babioch <karol@babioch.de>
14 lines
348 B
Plaintext
Executable File
14 lines
348 B
Plaintext
Executable File
config wifitoggle
|
|
option button 'wps'
|
|
|
|
option persistent '0'
|
|
option timer '600'
|
|
|
|
#option led_sysfs 'wrt160nl:amber:wps'
|
|
# Leaving this option empty, makes sure that no LED is touched
|
|
option led_sysfs ''
|
|
option led_enable_trigger 'timer'
|
|
option led_enable_delayon '500'
|
|
option led_enable_delayoff '500'
|
|
option led_disable_default '0'
|