blob: 242f4d0bb35be458ccf62f9781fdbb0361030149 (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/sh -e
tmp=$(mktemp)
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
|