summaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2008-04-12 13:37:22 +0200
committerThomas Bächler <thomas@archlinux.org>2008-04-12 14:01:39 +0200
commit521d7678cecb3018923f7c869bc8a5f74dc29268 (patch)
tree166884e40a4fc74d1b3ae1ac2ec4077f028ecafa /rc.sysinit
parent42c5f304ad361fd9e16d08a5230043e47437c399 (diff)
fixing udev hotplugging Some devices like scanners do not work with recent udev/initscript changes. This patch seems to fix such issues.
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit2
1 files changed, 2 insertions, 0 deletions
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