X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F12fstab;h=7f43937e97106f46612b3fffeaeccf58e92f86b9;hb=8b51f6996425b853e0d0dae42a34aa1be4d37901;hp=ba4a7a3fcd0a4a0e45d86b2201f3b0cd173ee3d2;hpb=52dcef518bdb95605670b8dc12257057bf7a2dc0;p=live-boot-grml.git diff --git a/scripts/live-bottom/12fstab b/scripts/live-bottom/12fstab index ba4a7a3..7f43937 100755 --- a/scripts/live-bottom/12fstab +++ b/scripts/live-bottom/12fstab @@ -32,19 +32,6 @@ log_begin_msg "Configuring fstab" # live-boot script -# Create a fake fstab only if it doesn't exist or if its the debootstrap template -if [ ! -f "${FSTAB}" ] || grep -qs 'UNCONFIGURED FSTAB FOR BASE SYSTEM' "${FSTAB}" -then - -cat > ${FSTAB} << EOF -# /etc/fstab: static file system information. -# -# - -EOF - -fi - if ! grep -qs "^${UNIONTYPE}" "${FSTAB}" then echo "${UNIONTYPE} / ${UNIONTYPE} rw 0 0" >> "${FSTAB}"