summaryrefslogtreecommitdiff
path: root/package/procd/files/hotplug.json
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-06-21 16:54:37 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-06-21 16:54:37 +0000
commit4d953d3a481dd847524eae78c7aae00153bc7efd (patch)
tree37c9cbe251e4fb790aaa72e862c35822be30b491 /package/procd/files/hotplug.json
parent801985e5286881dd578a19280b2a6c8e212a530d (diff)
packages: clean up the package folder
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37007 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/procd/files/hotplug.json')
-rw-r--r--package/procd/files/hotplug.json77
1 files changed, 0 insertions, 77 deletions
diff --git a/package/procd/files/hotplug.json b/package/procd/files/hotplug.json
deleted file mode 100644
index c1b45c6e86..0000000000
--- a/package/procd/files/hotplug.json
+++ /dev/null
@@ -1,77 +0,0 @@
-[
- [ "case", "ACTION", {
- "add": [
- [ "if",
- [ "and",
- [ "has", "MAJOR" ],
- [ "has", "MINOR" ],
- ],
- [
- [ "if",
- [ "or",
- [ "eq", "DEVNAME",
- [ "null", "full", "ptmx", "zero" ],
- ],
- [ "regex", "DEVNAME",
- [ "^gpio", "^hvc", "^tty" ],
- ],
- ],
- [
- [ "makedev", "/dev/%DEVNAME%", "0666" ],
- [ "return" ],
- ]
- ],
- [ "if",
- [ "or",
- [ "eq", "DEVNAME", "mapper/control" ],
- [ "regex", "DEVPATH", "^ppp" ],
- ],
- [
- [ "makedev", "/dev/%DEVNAME%", "0600" ],
- [ "return" ],
- ],
- ],
- [ "if",
- [ "has", "DEVNAME" ],
- [ "makedev", "/dev/%DEVNAME%", "0644" ],
- ],
- ],
- ],
- [ "if",
- [ "has", "FIRMWARE" ],
- [
- [ "exec", "/sbin/hotplug-call", "%SUBSYSTEM%" ],
- [ "load-firmware", "/lib/firmware" ],
- [ "return" ]
- ]
- ],
- ],
- "remove" : [
- [ "if",
- [ "and",
- [ "has", "DEVNAME" ],
- [ "has", "MAJOR" ],
- [ "has", "MINOR" ],
- ],
- [ "rm", "/dev/%DEVNAME%" ]
- ]
- ]
- } ],
- [ "if",
- [ "eq", "SUBSYSTEM", "platform" ],
- [ "exec", "/sbin/hotplug-call", "%SUBSYSTEM%" ]
- ],
- [ "if",
- [ "and",
- [ "has", "BUTTON" ],
- [ "eq", "SUBSYSTEM", "button" ],
- ],
- [ "exec", "/etc/rc.button/%BUTTON%" ]
- ],
- [ "if",
- [ "eq", "SUBSYSTEM",
- [ "net", "input", "usb", "ieee1394", "block", "atm", "zaptel", "tty" ]
- ],
- [ "exec", "/sbin/hotplug-call", "%SUBSYSTEM%" ]
- ],
-]