X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F12fstab;h=73e18d49f1eb8d18affdc877f551429d012145bd;hb=d3381ae07b0c42122fed31e11b94c2532cedf1d7;hp=389f53e983c6caab003b1ce86dd77e2efbadd3ce;hpb=ccea277caf476cdfef4c0f953df5a97062d8be42;p=live-boot-grml.git diff --git a/scripts/live-bottom/12fstab b/scripts/live-bottom/12fstab index 389f53e..73e18d4 100755 --- a/scripts/live-bottom/12fstab +++ b/scripts/live-bottom/12fstab @@ -22,17 +22,28 @@ esac . /scripts/live-functions +if [ -n "${NOFSTAB}" ] +then + exit 0 +fi + log_begin_msg "Configuring fstab..." # live-initramfs script FSTAB=/root/etc/fstab -cat > $FSTAB <> $FSTAB << EOF +${UNIONTYPE} / ${UNIONTYPE} rw 0 0 tmpfs /tmp tmpfs nosuid,nodev 0 0 EOF -rm -f /root/etc/rcS.d/S*checkroot.sh +# disabled for now +#rm -f /root/etc/rcS.d/S*checkroot.sh + +if [ "${NOFASTBOOT}" != "Yes" ] +then + touch root/fastboot +fi log_end_msg