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 | 26845a4715f0034e3c5ad63831d34a9c45201585 (patch) | |
tree | 09ad932c209a2a6fb302167442796ab989053fd3 /package/system | |
parent | 386840aecf72cb969aacafabc24b700ae7a46d91 (diff) | |
download | mtk-20170518-26845a4715f0034e3c5ad63831d34a9c45201585.zip mtk-20170518-26845a4715f0034e3c5ad63831d34a9c45201585.tar.gz mtk-20170518-26845a4715f0034e3c5ad63831d34a9c45201585.tar.bz2 |
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.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 d574019..27b4836 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", |