diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2015-08-10 22:48:07 +0000 |
---|---|---|
committer | Rafał Miłecki <zajec5@gmail.com> | 2015-08-10 22:48:07 +0000 |
commit | 073aab6f316fe722376f1998b9bdfa5d4c9298ca (patch) | |
tree | a827edeba8bee1ef8a4d9cf669618dbd32a71d99 /package/system/procd | |
parent | b4f59796e1d269e37c77031d687ef32eb4b51b20 (diff) | |
download | master-187ad058-073aab6f316fe722376f1998b9bdfa5d4c9298ca.tar.gz master-187ad058-073aab6f316fe722376f1998b9bdfa5d4c9298ca.tar.bz2 master-187ad058-073aab6f316fe722376f1998b9bdfa5d4c9298ca.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46580 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/system/procd')
-rw-r--r-- | package/system/procd/files/hotplug.json | 2 |
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", |