diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-03-13 18:11:07 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-03-13 18:11:07 +0000 |
commit | eb89fda29cbc4ba70741ea1cddae266033db1ae4 (patch) | |
tree | 0fa39987acd10ea570cfd4455583be2dfcc54742 /package/procd/files/hotplug-preinit.json | |
parent | 0122aae0f2af0e043a1887effb9f4d8621d5e774 (diff) |
[procd] update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36001 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/procd/files/hotplug-preinit.json')
-rw-r--r-- | package/procd/files/hotplug-preinit.json | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/package/procd/files/hotplug-preinit.json b/package/procd/files/hotplug-preinit.json new file mode 100644 index 0000000000..d212b22fac --- /dev/null +++ b/package/procd/files/hotplug-preinit.json @@ -0,0 +1,21 @@ +[ + [ "case", "ACTION", { + "add": [ + [ "if", + [ "has", "FIRMWARE" ], + [ + [ "exec", "/sbin/hotplug-call", "%SUBSYSTEM%" ], + [ "load-firmware", "/lib/firmware" ], + [ "return" ] + ] + ], + ], + }, ], + [ "if", + [ "and", + [ "eq", "SUBSYSTEM", "button" ], + [ "eq", "BUTTON", "reset" ], + ], + [ "exec", "/etc/rc.button/failsafe" ] + ], +] |