projects
/
openwrt
/
staging
/
yousong.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
386840a
)
procd: switch buttons to the new "button" hotplug handler
author
Rafał Miłecki
<zajec5@gmail.com>
Mon, 10 Aug 2015 22:48:07 +0000
(22:48 +0000)
committer
Rafał Miłecki
<zajec5@gmail.com>
Mon, 10 Aug 2015 22:48:07 +0000
(22:48 +0000)
This allows requesting "timeout" ACTION in script by returning a
positive value.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46580
package/system/procd/files/hotplug.json
patch
|
blob
|
history
diff --git
a/package/system/procd/files/hotplug.json
b/package/system/procd/files/hotplug.json
index d57401958158f136f289ae397d0e54f66ba7aef2..27b4836ec04aa33222735da6ee6b2a45f3ef5eee 100644
(file)
--- 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",