aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2007-03-03 20:35:01 +0000
committerImre Kaloz <kaloz@openwrt.org>2007-03-03 20:35:01 +0000
commit662fde90774af7779c542c05f9402acb4ffcb297 (patch)
tree9eabb768e69d4881a8302a1a4b918f89be90837e /package/base-files/files/sbin
parent7b0de4ae45abb18db2093cd8ebc9dd6415fc361a (diff)
downloadupstream-662fde90774af7779c542c05f9402acb4ffcb297.tar.gz
upstream-662fde90774af7779c542c05f9402acb4ffcb297.tar.bz2
upstream-662fde90774af7779c542c05f9402acb4ffcb297.zip
R.I.P. devfs
SVN-Revision: 6478
Diffstat (limited to 'package/base-files/files/sbin')
-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 b1b6f97b23..75d5170833 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" ] && {