Magellan Linux

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

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

revision 1187 by niro, Wed Dec 15 21:42:48 2010 UTC revision 1188 by niro, Thu Dec 16 01:24:51 2010 UTC
# Line 60  DOFB=no Line 60  DOFB=no
60  DOPATA=yes  DOPATA=yes
61  FORCED_ROOTFS=""  FORCED_ROOTFS=""
62  INITEXEC="/sbin/init"  INITEXEC="/sbin/init"
63    BREAK_ENABLED=no
64    
65  ## starts here ##  ## starts here ##
66    
# Line 90  do Line 91  do
91   nopata) DOPATA=no;;   nopata) DOPATA=no;;
92   rootfs=*) FORCED_ROOTFS="${i#*=}";;   rootfs=*) FORCED_ROOTFS="${i#*=}";;
93   init=*) INITEXEC="${i#*=}";;   init=*) INITEXEC="${i#*=}";;
94     break) BREAK_ENABLED=yes ;;
95   esac   esac
96  done  done
97    
# Line 203  echo > /proc/sys/kernel/hotplug Line 205  echo > /proc/sys/kernel/hotplug
205  # de-silencio  # de-silencio
206  echo 3 > /proc/sys/kernel/printk  echo 3 > /proc/sys/kernel/printk
207    
208    if [[ ${BREAK_ENABLED} = yes ]]
209    then
210     echo "-- Break requested, type 'exit' to resume operation ..."
211     ash
212    fi
213    
214  echo "-- Switching to real sysroot ..."  echo "-- Switching to real sysroot ..."
215  umount /dev  umount /dev
216  umount /sys  umount /sys

Legend:
Removed from v.1187  
changed lines
  Added in v.1188