Removing header in fstab, not required.
authorDaniel Baumann <daniel@debian.org>
Fri, 6 Apr 2012 10:10:46 +0000 (12:10 +0200)
committerDaniel Baumann <daniel@debian.org>
Fri, 6 Apr 2012 10:10:46 +0000 (12:10 +0200)
scripts/live-bottom/12fstab

index ba4a7a3..7f43937 100755 (executable)
@@ -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.
-#
-# <file system> <mount point>   <type>  <options>       <dump>  <pass>
-
-EOF
-
-fi
-
 if ! grep -qs  "^${UNIONTYPE}" "${FSTAB}"
 then
        echo "${UNIONTYPE} / ${UNIONTYPE} rw 0 0" >> "${FSTAB}"