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: 46580
This commit is contained in:
Rafał Miłecki 2015-08-10 22:48:07 +00:00
parent 386840aecf
commit 26845a4715

View file

@ -66,7 +66,7 @@
[ "has", "BUTTON" ],
[ "eq", "SUBSYSTEM", "button" ],
],
[ "exec", "/etc/rc.button/%BUTTON%" ]
[ "button", "/etc/rc.button/%BUTTON%" ]
],
[ "if",
[ "eq", "SUBSYSTEM",