summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2016-02-02 03:20:49 -0500
committerKim Hagen <kim.sidney@gmail.com>2016-02-02 03:20:49 -0500
commit25afab110cd193a58aa86a19f808aaa620671e33 (patch)
tree1b753c61ededc9c8bac7fe7259e16402b8bdea59
parent775b3ace1c12328a993367cece20373de7f645da (diff)
downloadlive-boot-25afab110cd193a58aa86a19f808aaa620671e33.tar.gz
live-boot-25afab110cd193a58aa86a19f808aaa620671e33.zip
Add fastboot and option to set nofastboot.
-rwxr-xr-xcomponents/9990-cmdline-old5
-rwxr-xr-xcomponents/9990-fstab.sh5
2 files changed, 10 insertions, 0 deletions
diff --git a/components/9990-cmdline-old b/components/9990-cmdline-old
index 911fb4e..657806a 100755
--- a/components/9990-cmdline-old
+++ b/components/9990-cmdline-old
@@ -140,6 +140,11 @@ Cmdline_old ()
export NFS_COW
;;
+ nofastboot)
+ NOFASTBOOT="true"
+ export NOFASTBOOT
+ ;;
+
nofstab)
NOFSTAB="true"
export NOFSTAB
diff --git a/components/9990-fstab.sh b/components/9990-fstab.sh
index a8d9123..c79aa42 100755
--- a/components/9990-fstab.sh
+++ b/components/9990-fstab.sh
@@ -25,5 +25,10 @@ Fstab ()
echo "tmpfs /tmp tmpfs nosuid,nodev 0 0" >> /root/etc/fstab
fi
+ if [ -z "${NOFASTBOOT}" ]
+ then
+ touch root/fastboot
+ fi
+
log_end_msg
}