From: Rafał Miłecki Date: Mon, 10 Aug 2015 22:48:07 +0000 (+0000) Subject: procd: switch buttons to the new "button" hotplug handler X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=26845a4715f0034e3c5ad63831d34a9c45201585;p=openwrt%2Fstaging%2Fneocturne.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 SVN-Revision: 46580 --- diff --git a/package/system/procd/files/hotplug.json b/package/system/procd/files/hotplug.json index d574019581..27b4836ec0 100644 --- a/package/system/procd/files/hotplug.json +++ b/package/system/procd/files/hotplug.json @@ -66,7 +66,7 @@ [ "has", "BUTTON" ], [ "eq", "SUBSYSTEM", "button" ], ], - [ "exec", "/etc/rc.button/%BUTTON%" ] + [ "button", "/etc/rc.button/%BUTTON%" ] ], [ "if", [ "eq", "SUBSYSTEM",