diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2008-04-12 13:37:22 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2008-04-12 14:01:39 +0200 |
commit | 521d7678cecb3018923f7c869bc8a5f74dc29268 (patch) | |
tree | 166884e40a4fc74d1b3ae1ac2ec4077f028ecafa /rc.sysinit | |
parent | 42c5f304ad361fd9e16d08a5230043e47437c399 (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-x | rc.sysinit | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |