aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/init.d
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-04 20:31:53 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-04 20:31:53 +0000
commitae39d6a370ebb0171bd666a22159b70a2e921877 (patch)
treed01574d8952ea12da4e829c3c811e57382a1be17 /package/base-files/files/etc/init.d
parent7c5ca4e5dedaaf8480fdd6a8eb1ea6a0e89d0229 (diff)
downloadmaster-187ad058-ae39d6a370ebb0171bd666a22159b70a2e921877.tar.gz
master-187ad058-ae39d6a370ebb0171bd666a22159b70a2e921877.tar.bz2
master-187ad058-ae39d6a370ebb0171bd666a22159b70a2e921877.zip
nuke mdev and replace it with hotplug2 :)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6512 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/etc/init.d')
-rwxr-xr-xpackage/base-files/files/etc/init.d/boot7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot
index db7ec8cc3a..ed5e7d8ba5 100755
--- a/package/base-files/files/etc/init.d/boot
+++ b/package/base-files/files/etc/init.d/boot
@@ -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/*
}