From 25afab110cd193a58aa86a19f808aaa620671e33 Mon Sep 17 00:00:00 2001 From: Kim Hagen Date: Tue, 2 Feb 2016 03:20:49 -0500 Subject: Add fastboot and option to set nofastboot. --- components/9990-cmdline-old | 5 +++++ components/9990-fstab.sh | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'components') 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 } -- cgit v1.2.3