R.I.P. devfs
[lede-git/.git] / package / base-files / files / sbin / hotplug
index b1b6f97b234820107f24a6e1a8dbcd64d398362b..75d5170833c7e7ebf409b2379b9711c554ad01fc 100755 (executable)
@@ -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" ] && {