From da939302e70d914394241d5ae1cb1b3966f29afc Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Dec 2015 21:54:35 +0000 Subject: yet more functions --- libvasile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/libvasile b/libvasile index 5a9b450..f9d2fc7 100755 --- a/libvasile +++ b/libvasile @@ -260,6 +260,17 @@ isostartx64 () { mount -t tmpfs -o nosuid,nodev,noexec none "$livedirx64"/tmp } +isostopx64 () { + umount -l "$livedirx64"/proc > /dev/null 2>&1 + umount -l "$livedirx64"/sys > /dev/null 2>&1 + umount -l "$livedirx64"/dev/pts > /dev/null 2>&1 + umount -l "$livedirx64"/dev/shm > /dev/null 2>&1 + umount -l "$livedirx64"/dev > /dev/null 2>&1 + umount -l "$livedirx64"/tmp > /dev/null 2>&1 + umount -l "$livedirx64"/usr/portage/packages > /dev/null 2>&1 + umount -l "$livedirx64"/mnt > /dev/null 2>&1 +} + isooverlaysx64 () { echo "injecting "$releasename" main overlay into x64 environment" sleep 1 @@ -300,6 +311,17 @@ isostartx86 () { mount -t tmpfs -o nosuid,nodev,noexec none "$livedirx86"/tmp } +isostopx86 () { + umount -l "$livedirx86"/proc > /dev/null 2>&1 + umount -l "$livedirx86"/sys > /dev/null 2>&1 + umount -l "$livedirx86"/dev/pts > /dev/null 2>&1 + umount -l "$livedirx86"/dev/shm > /dev/null 2>&1 + umount -l "$livedirx86"/dev > /dev/null 2>&1 + umount -l "$livedirx86"/tmp > /dev/null 2>&1 + umount -l "$livedirx86"/usr/portage/packages > /dev/null 2>&1 + umount -l "$livedirx86"/mnt > /dev/null 2>&1 +} + isooverlaysx86 () { echo "injecting "$releasename" main overlay into x86 environment" sleep 1 -- cgit v1.2.3