From 521d7678cecb3018923f7c869bc8a5f74dc29268 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 12 Apr 2008 13:37:22 +0200 Subject: fixing udev hotplugging Some devices like scanners do not work with recent udev/initscript changes. This patch seems to fix such issues. --- rc.sysinit | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rc.sysinit') diff --git a/rc.sysinit b/rc.sysinit index e6080a5..d03be06 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -71,6 +71,8 @@ if [ -f /etc/localtime ]; then /sbin/hwclock $HWCLOCK_PARAMS --noadjfile fi +echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug + if [ -x /sbin/udevadm -a -d /sys/block ]; then # We have udev and /sys appears to be mounted, use UDev #status "Starting UDev Daemon" /etc/start_udev init -- cgit v1.2.3