mirror of https://github.com/hak5/openwrt.git
procd: switch buttons to the new "button" hotplug handler
This allows requesting "timeout" ACTION in script by returning a positive value. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46580lede-17.01
parent
386840aecf
commit
26845a4715
|
@ -66,7 +66,7 @@
|
|||
[ "has", "BUTTON" ],
|
||||
[ "eq", "SUBSYSTEM", "button" ],
|
||||
],
|
||||
[ "exec", "/etc/rc.button/%BUTTON%" ]
|
||||
[ "button", "/etc/rc.button/%BUTTON%" ]
|
||||
],
|
||||
[ "if",
|
||||
[ "eq", "SUBSYSTEM",
|
||||
|
|
Loading…
Reference in New Issue