1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-18 05:57:30 +02:00

don't run mdev on hotplug pseudo-events that come from user space

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6480 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-03-03 20:59:49 +00:00
parent 39cff50e2e
commit c35ce18c29

View File

@ -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