X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F12fstab;h=f38eee722f4fdcd1ed1c4b94b1d2b8698cffce4c;hb=94853efc193b3721c9be6d89a756c660b6b57d05;hp=2dba37af5b37c203dfa03358f82e809e9c29c10a;hpb=f4902b112fbd2ab8cafe6fd1827a941cfe20fb8c;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.