summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-06-21 16:53:19 +0000
committerJohn Crispin <john@openwrt.org>2013-06-21 16:53:19 +0000
commitb0bb503c20c53f65b437b989dcb84d25f1256c09 (patch)
tree6ca65d305c8efa89d229d85be4b3754b51558d21
parent39df8d1a4573e15bd3bd46fed48fa0d0769a2bdc (diff)
downloadmtk-20170518-b0bb503c20c53f65b437b989dcb84d25f1256c09.zip
mtk-20170518-b0bb503c20c53f65b437b989dcb84d25f1256c09.tar.gz
mtk-20170518-b0bb503c20c53f65b437b989dcb84d25f1256c09.tar.bz2
procd: fix hotplug rule to not return on default makedev trigger
this allows the subsystem trigger to also be called Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36994
-rw-r--r--package/procd/files/hotplug.json5
1 files changed, 1 insertions, 4 deletions
diff --git a/package/procd/files/hotplug.json b/package/procd/files/hotplug.json
index 43fec0c..c1b45c6 100644
--- a/package/procd/files/hotplug.json
+++ b/package/procd/files/hotplug.json
@@ -33,10 +33,7 @@
],
[ "if",
[ "has", "DEVNAME" ],
- [
- [ "makedev", "/dev/%DEVNAME%", "0644" ],
- [ "return" ],
- ],
+ [ "makedev", "/dev/%DEVNAME%", "0644" ],
],
],
],