blob: 27278d940fc0fa4cb465f02dd5bb0632b96106ab (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/sh -e
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
|