projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f29e2a4
)
Removing header in fstab, not required.
author
Daniel Baumann
<daniel@debian.org>
Fri, 6 Apr 2012 10:10:46 +0000
(12:10 +0200)
committer
Daniel Baumann
<daniel@debian.org>
Fri, 6 Apr 2012 10:10:46 +0000
(12:10 +0200)
scripts/live-bottom/12fstab
patch
|
blob
|
history
diff --git
a/scripts/live-bottom/12fstab
b/scripts/live-bottom/12fstab
index
ba4a7a3
..
7f43937
100755
(executable)
--- 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}"