summaryrefslogtreecommitdiff
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
commit662fde90774af7779c542c05f9402acb4ffcb297 (patch)
tree9eabb768e69d4881a8302a1a4b918f89be90837e /package/base-files/files/sbin/hotplug
parent7b0de4ae45abb18db2093cd8ebc9dd6415fc361a (diff)
downloadmtk-20170518-662fde90774af7779c542c05f9402acb4ffcb297.zip
mtk-20170518-662fde90774af7779c542c05f9402acb4ffcb297.tar.gz
mtk-20170518-662fde90774af7779c542c05f9402acb4ffcb297.tar.bz2
R.I.P. devfs
SVN-Revision: 6478
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 b1b6f97..75d5170 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" ] && {