From 130f4efa38b78352d626d43148dd1143abd3bde9 Mon Sep 17 00:00:00 2001 From: kaloz Date: Sat, 3 Mar 2007 20:35:01 +0000 Subject: R.I.P. devfs git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6478 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/sbin/hotplug | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package/base-files/files/sbin') 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" ] && { -- cgit v1.2.3