summaryrefslogtreecommitdiff
path: root/libvasile
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-12-20 21:54:35 +0000
committerV3n3RiX <venerix@rogentos.ro>2015-12-20 21:54:35 +0000
commitda939302e70d914394241d5ae1cb1b3966f29afc (patch)
tree11d3e58063892d1cbabb2063acd203cc35b1d635 /libvasile
parent0433ee34e218c81821b5ae96dc6182c2bc1cbc42 (diff)
yet more functions
Diffstat (limited to 'libvasile')
-rwxr-xr-xlibvasile22
1 files changed, 22 insertions, 0 deletions
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