5 # initramfs-tools header
21 # live-initramfs header
25 . /scripts/live-functions
27 log_begin_msg "Disabling umountfs for live specific filesystems"
29 # live-initramfs script
31 if [ -e /root/etc/init.d/umountfs ]
33 sed -i -e 's#pioodl $TMPFS_MTPTS)#pioodl $TMPFS_MTPTS | sed -e "s@\\ @\\n@" | grep -v ^/live)#' \
34 -e 's#pioodl $REG_MTPTS)#pioodl $REG_MTPTS | sed -e "s@\\ @\\n@" | grep -v ^/live | grep -v ^/filesystem) /#' \
35 /root/etc/init.d/umountfs