From 6d17fdc7f0e548131acf803d93e890f8124ccc58 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Fri, 3 Feb 2006 19:52:42 +0000 Subject: Fixed bug in mkdxsinitrd - if link of a binary is copied you get the binary from the server instead of client root - problem on different architectures. Some minor bugfixes in other files ... git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@57 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initrd/initrd-stuff/bin/hwautocfg | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'initrd/initrd-stuff/bin') diff --git a/initrd/initrd-stuff/bin/hwautocfg b/initrd/initrd-stuff/bin/hwautocfg index 35af9f10..eba4e91f 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 , 31-01-2006 +# Author(s): Dirk von Suchodoletz , 03-02-2006 # Blabla # Blub # @@ -351,7 +351,10 @@ for DRIVER in ${NWMODULES}; do DRIVERLIST="${DRIVERLIST} ${DRIVER}"; } done # sound card setup (alsa and oss compatibility drivers) -. /etc/sysconfig/sound || DRIVER="snd-dummy" +if [ -f /etc/sysconfig/sound ] ; then + . /etc/sysconfig/sound +else DRIVER="snd-dummy" +fi modprobe ${MODPRV} ${DRIVER} DRIVERLIST="${DRIVERLIST} ${DRIVER} " modprobe -a ${MODPRV} snd_pcm_oss snd_mixer_oss @@ -386,6 +389,7 @@ done strinfile "genericwheelusb" /tmp/hwsetup.info && modprobe ${MODPRV} usbhid # fixme - usb keyboard?? if [ -n "$IDE" ] ; then + strinfile " ZIP " /tmp/hwsetup.info && modprobe ${MODPRV} ide_floppy strinfile "CDROM" /tmp/hwsetup.info && modprobe ${MODPRV} ide_cd strinfile "HD" /tmp/hwsetup.info && modprobe ${MODPRV} ide_disk & fi -- cgit v1.2.3-55-g7522