forked from Ivasoft/openwrt
packages: clean up the package folder
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37007
This commit is contained in:
20
package/system/procd/files/hotplug-preinit.json
Normal file
20
package/system/procd/files/hotplug-preinit.json
Normal file
@@ -0,0 +1,20 @@
|
||||
[
|
||||
[ "case", "ACTION", {
|
||||
"add": [
|
||||
[ "if",
|
||||
[ "has", "FIRMWARE" ],
|
||||
[
|
||||
[ "exec", "/sbin/hotplug-call", "%SUBSYSTEM%" ],
|
||||
[ "load-firmware", "/lib/firmware" ],
|
||||
[ "return" ]
|
||||
]
|
||||
],
|
||||
],
|
||||
}, ],
|
||||
[ "if",
|
||||
[ "and",
|
||||
[ "eq", "SUBSYSTEM", "button" ],
|
||||
],
|
||||
[ "exec", "/etc/rc.button/failsafe" ]
|
||||
],
|
||||
]
|
||||
Reference in New Issue
Block a user