projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't run mdev on hotplug pseudo-events that come from user space
[openwrt.git]
/
package
/
base-files
/
files
/
sbin
/
hotplug
diff --git
a/package/base-files/files/sbin/hotplug
b/package/base-files/files/sbin/hotplug
index
75d5170
..
189cfee
100755
(executable)
--- a/
package/base-files/files/sbin/hotplug
+++ b/
package/base-files/files/sbin/hotplug
@@
-1,7
+1,7
@@
#!/bin/sh
# Copyright (C) 2006 OpenWrt.org
#!/bin/sh
# Copyright (C) 2006 OpenWrt.org
-[ -x /sbin/mdev ] && /sbin/mdev "$@"
+[ -x /sbin/mdev
-a -n "$ACTION" -a -n "$DEVPATH"
] && /sbin/mdev "$@"
# bypass the normal hotplug path for firmware loading
# would otherwise cause problems with drivers like bcm43xx
# bypass the normal hotplug path for firmware loading
# would otherwise cause problems with drivers like bcm43xx