projects
/
openwrt
/
staging
/
wigyori.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57495a6
)
don't run mdev on hotplug pseudo-events that come from user space
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 3 Mar 2007 20:59:49 +0000
(20:59 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 3 Mar 2007 20:59:49 +0000
(20:59 +0000)
SVN-Revision: 6480
package/base-files/files/sbin/hotplug
patch
|
blob
|
history
diff --git
a/package/base-files/files/sbin/hotplug
b/package/base-files/files/sbin/hotplug
index 75d5170833c7e7ebf409b2379b9711c554ad01fc..189cfee67c829791e0312d608e8d7833071ccc14 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
-[ -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