X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F12fstab;h=f38eee722f4fdcd1ed1c4b94b1d2b8698cffce4c;hb=35c1bf15ba1c4e64376e42fd796c4c08cfbc8389;hp=2dba37af5b37c203dfa03358f82e809e9c29c10a;hpb=622d9b6a37df32b0cf6a04d537fbfc49bcb917da;p=live-boot-grml.git diff --git a/scripts/live-bottom/12fstab b/scripts/live-bottom/12fstab index 2dba37a..f38eee7 100755 --- a/scripts/live-bottom/12fstab +++ b/scripts/live-bottom/12fstab @@ -33,7 +33,7 @@ log_begin_msg "Configuring fstab" # live-initramfs script # Create a fake fstab only if it is not already there -if [ ! -f "${FSTAB}" ] || grep -q 'UNCONFIGURED FSTAB FOR BASE SYSTEM' "${FSTAB}" +if [ ! -f "${FSTAB}" ] || grep -qs 'UNCONFIGURED FSTAB FOR BASE SYSTEM' "${FSTAB}" then cat >> ${FSTAB} << EOF # /etc/fstab: static file system information.