summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
39cff50)
#!/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