--- trunk/mkinitrd-magellan/livecd/linuxrc.sh 2010/12/16 01:23:28 1187 +++ trunk/mkinitrd-magellan/livecd/linuxrc.sh 2010/12/16 01:24:51 1188 @@ -60,6 +60,7 @@ DOPATA=yes FORCED_ROOTFS="" INITEXEC="/sbin/init" +BREAK_ENABLED=no ## starts here ## @@ -90,6 +91,7 @@ nopata) DOPATA=no;; rootfs=*) FORCED_ROOTFS="${i#*=}";; init=*) INITEXEC="${i#*=}";; + break) BREAK_ENABLED=yes ;; esac done @@ -203,6 +205,12 @@ # de-silencio echo 3 > /proc/sys/kernel/printk +if [[ ${BREAK_ENABLED} = yes ]] +then + echo "-- Break requested, type 'exit' to resume operation ..." + ash +fi + echo "-- Switching to real sysroot ..." umount /dev umount /sys