summaryrefslogtreecommitdiffstats
path: root/.local/bin/fathddmnt
diff options
context:
space:
mode:
Diffstat (limited to '')
-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