aboutsummaryrefslogtreecommitdiffstats
path: root/package/system
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-08-10 22:48:07 +0000
committerRafał Miłecki <zajec5@gmail.com>2015-08-10 22:48:07 +0000
commit26845a4715f0034e3c5ad63831d34a9c45201585 (patch)
tree09ad932c209a2a6fb302167442796ab989053fd3 /package/system
parent386840aecf72cb969aacafabc24b700ae7a46d91 (diff)
downloadupstream-26845a4715f0034e3c5ad63831d34a9c45201585.tar.gz
upstream-26845a4715f0034e3c5ad63831d34a9c45201585.tar.bz2
upstream-26845a4715f0034e3c5ad63831d34a9c45201585.zip
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
Diffstat (limited to 'package/system')
-rw-r--r--package/system/procd/files/hotplug.json2
1 files changed, 1 insertions, 1 deletions
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",