dmount/dmount.sh

7 lines
121 B
Bash
Raw Normal View History

#/bin/bash
echo "unlocking device cryptdata"
doas rc-service dmcrypt restart
doas vgchange -a y cryptdata
doas mount -a