summaryrefslogtreecommitdiffstats
path: root/.local/bin/debumnt
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-05-05 12:09:50 +0200
committerJoe <bousset.rudy@gmail.com>2022-05-05 12:09:50 +0200
commitabe0043c30797b4a6395ea0c45b98fb1fefb8c49 (patch)
tree0b307f5f1a9cf0b9713d315e34c6eecdd7799b68 /.local/bin/debumnt
parentscrot script update (diff)
downloaddotfiles-bsd-abe0043c30797b4a6395ea0c45b98fb1fefb8c49.tar.gz
dotfiles-bsd-abe0043c30797b4a6395ea0c45b98fb1fefb8c49.tar.bz2
dotfiles-bsd-abe0043c30797b4a6395ea0c45b98fb1fefb8c49.tar.xz
dotfiles-bsd-abe0043c30797b4a6395ea0c45b98fb1fefb8c49.tar.zst
dotfiles-bsd-abe0043c30797b4a6395ea0c45b98fb1fefb8c49.zip
Debian jails incomming
Diffstat (limited to '.local/bin/debumnt')
-rwxr-xr-x.local/bin/debumnt10
1 files changed, 10 insertions, 0 deletions
diff --git a/.local/bin/debumnt b/.local/bin/debumnt
new file mode 100755
index 0000000..ad592b7
--- /dev/null
+++ b/.local/bin/debumnt
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+umount /compat/debian/dev
+umount /compat/debian/dev/fd
+umount /compat/debian/proc
+umount /compat/debian/sys
+
+sed -i '' '/debian/d' /etc/fstab
+
+kldunload linux