summaryrefslogtreecommitdiffstats
path: root/initramfs/stage3-stuff/bin/hwautocfg
diff options
context:
space:
mode:
authorDirk von Suchodoletz2009-07-16 23:13:48 +0200
committerDirk von Suchodoletz2009-07-16 23:13:48 +0200
commit95c4c34682d1a62776202b009ce746cc4474cf10 (patch)
tree63c5f0504dc0e88fd2585f02dc37d10eb3ac6ba6 /initramfs/stage3-stuff/bin/hwautocfg
parentFix for some bugs (occured producing examples ...) (diff)
downloadcore-95c4c34682d1a62776202b009ce746cc4474cf10.tar.gz
core-95c4c34682d1a62776202b009ce746cc4474cf10.tar.xz
core-95c4c34682d1a62776202b009ce746cc4474cf10.zip
Small add-ons ...
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3012 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/stage3-stuff/bin/hwautocfg')
-rwxr-xr-xinitramfs/stage3-stuff/bin/hwautocfg8
1 files changed, 4 insertions, 4 deletions
diff --git a/initramfs/stage3-stuff/bin/hwautocfg b/initramfs/stage3-stuff/bin/hwautocfg
index 5cb570bd..620f5232 100755
--- a/initramfs/stage3-stuff/bin/hwautocfg
+++ b/initramfs/stage3-stuff/bin/hwautocfg
@@ -27,7 +27,7 @@ done
# no kernel messages, switch on hotplug via /sbin/mdev
echo "0 0 0 0" >/proc/sys/kernel/printk
echo "/sbin/mdev" >/proc/sys/kernel/hotplug
-modprobe -a ${MODPRV} usbhid hid-bright &
+modprobe -a ${MODPRV} usbhid hid-bright 2>/dev/null &
nwcardlist=$(echo ${slxconf_listnwmod}|sed "s/\ /|/g")
hwinfo --netcard --usb-ctrl | grep modprobe | grep -E "$nwcardlist|hcd" | \
grep -v ehci | sed 's/.* Cmd: "//;s/"//' | sort -u >/etc/modprobe.base
@@ -67,9 +67,9 @@ mdev -s
[ $DEBUGLEVEL -eq 21 ] && echo "** finished 2nd hwdetection at $(sysup)"
# load disk/optical high level drivers
-modprobe ${MODPRV} ide-cd
-modprobe ${MODPRV} sr_mod
-modprobe ${MODPRV} ide-floppy
+modprobe ${MODPRV} ide-cd 2>/dev/null
+modprobe ${MODPRV} sr_mod 2>/dev/null
+modprobe ${MODPRV} ide-floppy 2>/dev/null
mdev -s
# load kernel module for ps2 mice and map the mousehandler to /dev/input/mice