diff options
author | Dirk von Suchodoletz | 2006-01-29 16:23:57 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2006-01-29 16:23:57 +0100 |
commit | 96c2314f22400aa67c6fc8ce5ceee8cf6429e48e (patch) | |
tree | 4df04e07372b865ab87241b3d74b31cd316227ec /initrd/initrd-stuff/bin | |
parent | einige bugfixes (diff) | |
download | core-96c2314f22400aa67c6fc8ce5ceee8cf6429e48e.tar.gz core-96c2314f22400aa67c6fc8ce5ceee8cf6429e48e.tar.xz core-96c2314f22400aa67c6fc8ce5ceee8cf6429e48e.zip |
Added udevd to initial ramdisk. All devices seem to appear by now. Added
oss compat. to hwautocfg and fixed some minor bugs ...
git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@45 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/initrd-stuff/bin')
-rwxr-xr-x | initrd/initrd-stuff/bin/hwautocfg | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/initrd/initrd-stuff/bin/hwautocfg b/initrd/initrd-stuff/bin/hwautocfg index d722015e..b83479ea 100755 --- a/initrd/initrd-stuff/bin/hwautocfg +++ b/initrd/initrd-stuff/bin/hwautocfg @@ -4,7 +4,7 @@ # script for linux diskless clients, using hwconfig from # knoppix as base tool # -# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 20-01-2006 +# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 29-01-2006 # Blabla # Blub # @@ -334,10 +334,11 @@ for DRIVER in ${NWMODULES}; do DRIVERLIST="${DRIVERLIST} ${DRIVER}"; } done -# sound card setup +# sound card setup (alsa and oss compatibility drivers) . /etc/sysconfig/sound || DRIVER="snd-dummy" modprobe ${MODPRV} ${DRIVER} DRIVERLIST="${DRIVERLIST} ${DRIVER} " +modprobe -a ${MODPRV} snd_pcm_oss snd_mixer_oss # remaining drivers listed in /tmp/hwsetup.info cat /tmp/hwsetup.info| while read LINE ; do @@ -356,10 +357,13 @@ done # is initialized ( usleep 20 && hwsetup -v > /tmp/hwsetup.info +# check if USB mouse and/or keyboard is connected strinfile "genericwheelusb" /tmp/hwsetup.info && modprobe ${MODPRV} usbhid -if strinfile "IDE" /tmp/hwsetup.info ;then +# fixme - usb keyboard?? +if strinfile "IDE" /tmp/hwsetup.info ; then strinfile "CDROM" /tmp/hwsetup.info && modprobe ${MODPRV} ide_cd strinfile "HD" /tmp/hwsetup.info && modprobe ${MODPRV} ide_disk & + usleep 5 fi ) & # configure some variables from configuration file - wait for dhcp or ldap |