Dropping usage of /etc/fstab.d since util-linux removed it, thanks to Evgeni Golov...
[live-boot-grml.git] / components / 9990-fstab.sh
index 5ae9546..a8d9123 100755 (executable)
@@ -15,14 +15,14 @@ Fstab ()
 
        log_begin_msg "Configuring fstab"
 
-       if ! grep -qs  "^${UNIONTYPE}" /root/etc/fstab.d/live
+       if ! grep -qs  "^${UNIONTYPE}" /root/etc/fstab
        then
-               echo "${UNIONTYPE} / ${UNIONTYPE} rw 0 0" >> /root/etc/fstab.d/live
+               echo "${UNIONTYPE} / ${UNIONTYPE} rw 0 0" >> /root/etc/fstab
        fi
 
-       if ! grep -qs "^tmpfs /tmp" /root/etc/fstab.d/live
+       if ! grep -qs "^tmpfs /tmp" /root/etc/fstab
        then
-               echo "tmpfs /tmp tmpfs nosuid,nodev 0 0" >> /root/etc/fstab.d/live
+               echo "tmpfs /tmp tmpfs nosuid,nodev 0 0" >> /root/etc/fstab
        fi
 
        log_end_msg