aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin/hotplug
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
commitfaa289d9853f62f5c0b8084902e26a121ee8a03b (patch)
tree5ff00962fbf954332a4f650b3cb36a4aaa7d60bf /package/base-files/files/sbin/hotplug
parent69aa065a6b80b4dc9df44a5f3d165e6f17269e81 (diff)
downloadupstream-faa289d9853f62f5c0b8084902e26a121ee8a03b.tar.gz
upstream-faa289d9853f62f5c0b8084902e26a121ee8a03b.tar.bz2
upstream-faa289d9853f62f5c0b8084902e26a121ee8a03b.zip
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 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" ] && {