summaryrefslogtreecommitdiffstats
path: root/.local/bin/fathddmnt
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-05-20 21:33:22 +0200
committerJoe <bousset.rudy@gmail.com>2022-05-20 21:33:22 +0200
commitb7c9bbbc2fd3453707f3748e19cf8710178397e1 (patch)
tree81989c9bdf5c0adda077d5fd7c846640ff812004 /.local/bin/fathddmnt
parentCleaner I guess (diff)
downloaddotfiles-bsd-b7c9bbbc2fd3453707f3748e19cf8710178397e1.tar.gz
dotfiles-bsd-b7c9bbbc2fd3453707f3748e19cf8710178397e1.tar.bz2
dotfiles-bsd-b7c9bbbc2fd3453707f3748e19cf8710178397e1.tar.xz
dotfiles-bsd-b7c9bbbc2fd3453707f3748e19cf8710178397e1.tar.zst
dotfiles-bsd-b7c9bbbc2fd3453707f3748e19cf8710178397e1.zip
updates and new script cool
Diffstat (limited to '.local/bin/fathddmnt')
-rwxr-xr-x.local/bin/fathddmnt1
1 files changed, 1 insertions, 0 deletions
diff --git a/.local/bin/fathddmnt b/.local/bin/fathddmnt
index 758be1f..27278d9 100755
--- a/.local/bin/fathddmnt
+++ b/.local/bin/fathddmnt
@@ -5,4 +5,5 @@ tmp=$(mktemp)
dmenu -p "Enter password: " -nb '#1d2021' -nf '#1d2021' <&- >"$tmp"
geli attach -k /root/geli_keys/fathdd_ext.key -j "$tmp" /dev/da0p1
mkdir -p "$HOME"/hdd
+rm "$tmp"
mount /dev/da0p1.eli "$HOME"/hdd