--- trunk/mkinitrd-magellan/livecd/linuxrc.sh 2008/01/14 21:18:59 670 +++ trunk/mkinitrd-magellan/livecd/linuxrc.sh 2008/01/21 23:24:03 671 @@ -1,5 +1,5 @@ #!/bin/sh -# $Header: /home/cvsd/magellan-cvs/magellan-src/mkinitrd-magellan/livecd/linuxrc.sh,v 1.3 2008-01-14 19:32:52 niro Exp $ +# $Header: /home/cvsd/magellan-cvs/magellan-src/mkinitrd-magellan/livecd/linuxrc.sh,v 1.4 2008-01-21 23:24:03 niro Exp $ # loads given kernel modules load_kernel_modules() @@ -89,19 +89,18 @@ NOPATA=yes ;; rootfs=*) - shift - FORCED_ROOTFS="${1#*=}" + FORCED_ROOTFS="${i#*=}" ;; esac done # now load all needed modules +[ "${DOFB}" = "yes" ] && load_kernel_modules "framebuffer" load_kernel_modules "generic" [ "${NOPATA}" != "yes" ] && load_kernel_modules "pata" [ "${DOSCSI}" = "yes" ] && load_kernel_modules "scsi" [ "${DOUSB}" = "yes" ] && load_kernel_modules "usb" [ "${DOSATA}" = "yes" ] && load_kernel_modules "sata" -[ "${DOFB}" = "yes" ] && load_kernel_modules "framebuffer" # create newroot mount point mkdir -p /sysroot