diff options
| author | Kim Hagen <kim.sidney@gmail.com> | 2016-02-02 03:20:49 -0500 | 
|---|---|---|
| committer | Kim Hagen <kim.sidney@gmail.com> | 2016-02-02 03:20:49 -0500 | 
| commit | 25afab110cd193a58aa86a19f808aaa620671e33 (patch) | |
| tree | 1b753c61ededc9c8bac7fe7259e16402b8bdea59 /components | |
| parent | 775b3ace1c12328a993367cece20373de7f645da (diff) | |
| download | live-boot-25afab110cd193a58aa86a19f808aaa620671e33.tar.gz live-boot-25afab110cd193a58aa86a19f808aaa620671e33.zip | |
Add fastboot and option to set nofastboot.
Diffstat (limited to 'components')
| -rwxr-xr-x | components/9990-cmdline-old | 5 | ||||
| -rwxr-xr-x | components/9990-fstab.sh | 5 | 
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  } | 
