From 1a3b9a6418c85a1e3ddbe0872840bea0641a1e13 Mon Sep 17 00:00:00 2001 From: rmilecki 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46580 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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.11.0