summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-04-06 12:10:46 +0200
committerDaniel Baumann <daniel@debian.org>2012-04-06 12:10:46 +0200
commit06424fbd360af31f530e745695e525b873d06d93 (patch)
tree143bc73f55b4445d9f63c9d3149aaa6b62ff3921
parentf29e2a464be392830ca9953c4b472069fa3c2988 (diff)
downloadlive-boot-06424fbd360af31f530e745695e525b873d06d93.tar.gz
live-boot-06424fbd360af31f530e745695e525b873d06d93.zip
Removing header in fstab, not required.
-rwxr-xr-xscripts/live-bottom/12fstab13
1 files changed, 0 insertions, 13 deletions
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.
-#
-# <file system> <mount point> <type> <options> <dump> <pass>
-
-EOF
-
-fi
-
if ! grep -qs "^${UNIONTYPE}" "${FSTAB}"
then
echo "${UNIONTYPE} / ${UNIONTYPE} rw 0 0" >> "${FSTAB}"