2
0
forked from Ivasoft/openwrt

nuke mdev and replace it with hotplug2 :)

SVN-Revision: 6512
This commit is contained in:
Felix Fietkau
2007-03-04 20:31:53 +00:00
parent 0a056c9743
commit a44c286fdb
18 changed files with 38 additions and 28 deletions

View File

@@ -20,8 +20,11 @@ start() {
# manually trigger hotplug before loading modules
for iface in $(awk -F: '/:/ {print $1}' /proc/net/dev); do
/usr/bin/env -i ACTION=add INTERFACE="$iface" /sbin/hotplug net
/usr/bin/env -i ACTION=add INTERFACE="$iface" /sbin/hotplug-call net
done
/sbin/hotplug2 --persistent &
echo /sbin/hotplug-call > /proc/sys/kernel/hotplug
load_modules /etc/modules.d/*
}