Magellan Linux

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

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

revision 894 by niro, Wed Aug 5 16:24:23 2009 UTC revision 1180 by niro, Wed Dec 15 21:42:48 2010 UTC
# Line 59  DOSATA=yes Line 59  DOSATA=yes
59  DOFB=no  DOFB=no
60  DOPATA=yes  DOPATA=yes
61  FORCED_ROOTFS=""  FORCED_ROOTFS=""
62    INITEXEC="/sbin/init"
63    
64  ## starts here ##  ## starts here ##
65    
# Line 88  do Line 89  do
89   dopata) DOPATA=yes;;   dopata) DOPATA=yes;;
90   nopata) DOPATA=no;;   nopata) DOPATA=no;;
91   rootfs=*) FORCED_ROOTFS="${i#*=}";;   rootfs=*) FORCED_ROOTFS="${i#*=}";;
92     init=*) INITEXEC="${i#*=}";;
93   esac   esac
94  done  done
95    
# Line 206  umount /dev Line 208  umount /dev
208  umount /sys  umount /sys
209  umount /proc  umount /proc
210    
211  exec run-init /sysroot /sbin/init $@ </sysroot/dev/console >/sysroot/dev/console  exec run-init /sysroot ${INITEXEC} $@ </sysroot/dev/console >/sysroot/dev/console

Legend:
Removed from v.894  
changed lines
  Added in v.1180