Author: rmilecki
Date: 2015-08-11 00:48:07 +0200 (Tue, 11 Aug 2015)
New Revision: 46580

Modified:
   trunk/package/system/procd/files/hotplug.json
Log:
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?\197?\130 Mi?\197?\130ecki <[email protected]>

Modified: trunk/package/system/procd/files/hotplug.json
===================================================================
--- trunk/package/system/procd/files/hotplug.json       2015-08-10 22:29:46 UTC 
(rev 46579)
+++ trunk/package/system/procd/files/hotplug.json       2015-08-10 22:48:07 UTC 
(rev 46580)
@@ -66,7 +66,7 @@
                        [ "has", "BUTTON" ],
                        [ "eq", "SUBSYSTEM", "button" ],
                ],
-               [ "exec", "/etc/rc.button/%BUTTON%" ]
+               [ "button", "/etc/rc.button/%BUTTON%" ]
        ],
        [ "if",
                [ "eq", "SUBSYSTEM",
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to