Magellan Linux

Diff of /trunk/mkinitrd-magellan/livecd/linuxrc.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 672 by niro, Mon Jan 21 23:24:03 2008 UTC revision 673 by niro, Fri Jan 25 11:12:52 2008 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2  # $Header: /home/cvsd/magellan-cvs/magellan-src/mkinitrd-magellan/livecd/linuxrc.sh,v 1.4 2008-01-21 23:24:03 niro Exp $  # $Header: /home/cvsd/magellan-cvs/magellan-src/mkinitrd-magellan/livecd/linuxrc.sh,v 1.5 2008-01-25 11:12:52 niro Exp $
3    
4  # loads given kernel modules  # loads given kernel modules
5  load_kernel_modules()  load_kernel_modules()
# Line 57  DOSCSI=no Line 57  DOSCSI=no
57  DOUSB=no  DOUSB=no
58  DOSATA=no  DOSATA=no
59  DOFB=no  DOFB=no
60  NOPATA=no  DOPATA=no
61  FORCED_ROOTFS=""  FORCED_ROOTFS=""
62    
63  ## starts here ##  ## starts here ##
# Line 85  do Line 85  do
85   dofb)   dofb)
86   DOFB=yes   DOFB=yes
87   ;;   ;;
88   nopata)   dopata)
89   NOPATA=yes   DOPATA=yes
90   ;;   ;;
91   rootfs=*)   rootfs=*)
92   FORCED_ROOTFS="${i#*=}"   FORCED_ROOTFS="${i#*=}"
# Line 97  done Line 97  done
97  # now load all needed modules  # now load all needed modules
98  [ "${DOFB}" = "yes" ] && load_kernel_modules "framebuffer"  [ "${DOFB}" = "yes" ] && load_kernel_modules "framebuffer"
99  load_kernel_modules "generic"  load_kernel_modules "generic"
100  [ "${NOPATA}" != "yes" ] && load_kernel_modules "pata"  [ "${DOPATA}" = "yes" ] && load_kernel_modules "pata"
101  [ "${DOSCSI}" = "yes" ] && load_kernel_modules "scsi"  [ "${DOSCSI}" = "yes" ] && load_kernel_modules "scsi"
102  [ "${DOUSB}" = "yes" ] && load_kernel_modules "usb"  [ "${DOUSB}" = "yes" ] && load_kernel_modules "usb"
103  [ "${DOSATA}" = "yes" ] && load_kernel_modules "sata"  [ "${DOSATA}" = "yes" ] && load_kernel_modules "sata"

Legend:
Removed from v.672  
changed lines
  Added in v.673