From a44c286fdb6478992a0d99cf886fbdb6a67ea301 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 4 Mar 2007 20:31:53 +0000 Subject: nuke mdev and replace it with hotplug2 :) SVN-Revision: 6512 --- package/base-files/files/etc/init.d/boot | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'package/base-files/files/etc/init.d') diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index db7ec8c..ed5e7d8 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/* } -- cgit v1.1