aboutsummaryrefslogtreecommitdiffstats
path: root/target
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
commita44c286fdb6478992a0d99cf886fbdb6a67ea301 (patch)
tree1ce5c0323b48da12b74cfcfb750a7f7a5307c680 /target
parent0a056c9743749762a5d93463ecfd6f82137884db (diff)
downloadupstream-a44c286fdb6478992a0d99cf886fbdb6a67ea301.tar.gz
upstream-a44c286fdb6478992a0d99cf886fbdb6a67ea301.tar.bz2
upstream-a44c286fdb6478992a0d99cf886fbdb6a67ea301.zip
nuke mdev and replace it with hotplug2 :)
SVN-Revision: 6512
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/brcm-2.4/base-files/default/etc/preinit2
-rwxr-xr-xtarget/linux/generic-2.6/files/init2
2 files changed, 2 insertions, 2 deletions
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