diff options
Diffstat (limited to '')
-rwxr-xr-x | .local/bin/hddmnt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.local/bin/hddmnt b/.local/bin/hddmnt index 126a036..242f4d0 100755 --- a/.local/bin/hddmnt +++ b/.local/bin/hddmnt @@ -2,8 +2,7 @@ tmp=$(mktemp) -dmenu -p "Enter password: " -nb '#1d2021' -nf '#1d2021' <&- >$tmp -geli attach -k /root/geli_keys/hdd_ext.key -j $tmp /dev/da0 -rm $tmp +dmenu -p "Enter password: " -nb '#1d2021' -nf '#1d2021' <&- >"$tmp" +geli attach -k /root/geli_keys/hdd_ext.key -j "$tmp" /dev/da0 mkdir -p "$HOME"/hdd mount /dev/da0.eli "$HOME"/hdd |