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 --- target/linux/brcm-2.4/base-files/default/etc/preinit | 2 +- target/linux/generic-2.6/files/init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'target/linux') diff --git a/target/linux/brcm-2.4/base-files/default/etc/preinit b/target/linux/brcm-2.4/base-files/default/etc/preinit index 1c4e59f152..b7a9f04772 100755 --- a/target/linux/brcm-2.4/base-files/default/etc/preinit +++ b/target/linux/brcm-2.4/base-files/default/etc/preinit @@ -65,7 +65,7 @@ eval ${FAILSAFE:+failsafe} lock -w /tmp/.failsafe set_state preinit -echo /sbin/hotplug > /proc/sys/kernel/hotplug +echo /sbin/hotplug-call > /proc/sys/kernel/hotplug ifconfig $ifname 0.0.0.0 down diff --git a/target/linux/generic-2.6/files/init b/target/linux/generic-2.6/files/init index 292d429dcd..af397d9abb 100755 --- a/target/linux/generic-2.6/files/init +++ b/target/linux/generic-2.6/files/init @@ -12,7 +12,7 @@ else mknod /dev/console c 5 1 mkdir /dev/pts mkdir /dev/shm - /sbin/mdev -s + /sbin/hotplug2 --no-persistent --coldplug fi mount none /dev/pts -t devpts -- cgit v1.2.3