X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F12fstab;h=3d036c9700a9e0d271b3c91e1a904502d68a22b8;hb=c9df233f3f817379e27d860738abafdee3463526;hp=389f53e983c6caab003b1ce86dd77e2efbadd3ce;hpb=25bcd436af6202932ad494c8ddd0a49999579924;p=live-boot-grml.git diff --git a/scripts/live-bottom/12fstab b/scripts/live-bottom/12fstab index 389f53e..3d036c9 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