From 26845a4715f0034e3c5ad63831d34a9c45201585 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Mon, 10 Aug 2015 22:48:07 +0000 Subject: [PATCH] procd: switch buttons to the new "button" hotplug handler MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This allows requesting "timeout" ACTION in script by returning a positive value. Signed-off-by: Rafał Miłecki SVN-Revision: 46580 --- package/system/procd/files/hotplug.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.30.2