summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin/hotplug
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-03 20:35:01 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-03 20:35:01 +0000
commit130f4efa38b78352d626d43148dd1143abd3bde9 (patch)
tree5ff00962fbf954332a4f650b3cb36a4aaa7d60bf /package/base-files/files/sbin/hotplug
parentc94c88df806f3438933a2cee3f93065f34a242f6 (diff)
R.I.P. devfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6478 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/sbin/hotplug')
-rwxr-xr-xpackage/base-files/files/sbin/hotplug2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/files/sbin/hotplug b/package/base-files/files/sbin/hotplug
index b1b6f97b2..75d517083 100755
--- a/package/base-files/files/sbin/hotplug
+++ b/package/base-files/files/sbin/hotplug
@@ -1,6 +1,8 @@
#!/bin/sh
# Copyright (C) 2006 OpenWrt.org
+[ -x /sbin/mdev ] && /sbin/mdev "$@"
+
# bypass the normal hotplug path for firmware loading
# would otherwise cause problems with drivers like bcm43xx
[ "$1" = "firmware" -a "$ACTION" = "add" ] && {