7 # FIXME: stop hardcoding overloading of initramfs-tools functions
9 . /lib/live/boot/9990-initramfs-tools.sh
11 if [ -n "${NOFSTAB}" ]
16 if [ -e /root/etc/fstab.d ]
19 _FSTAB="/root/etc/fstab.d/live"
22 _FSTAB="/root/etc/fstab"
25 log_begin_msg "Configuring fstab"
27 if ! grep -qs "^${UNIONTYPE}" "${_FSTAB}"
29 echo "${UNIONTYPE} / ${UNIONTYPE} rw 0 0" >> "${_FSTAB}"
32 if ! grep -qs "^tmpfs /tmp" "${_FSTAB}"
34 echo "tmpfs /tmp tmpfs nosuid,nodev 0 0" >> "${_FSTAB}"