summaryrefslogtreecommitdiffstats
path: root/debian/tests/cryptroot-md.d/bottom
blob: a771c91080262a6ac9e3fe275bc57e31bec45fb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
umount "$ROOT/boot"
umount "$ROOT"

swapoff /dev/md1
mdadm --stop /dev/md1
cryptsetup close "vda3_crypt"
cryptsetup close "vdb3_crypt"

swapoff /dev/cryptvg/swap
lvm vgchange -an "cryptvg"
mdadm --stop /dev/md2
cryptsetup close "vda4_crypt"
cryptsetup close "vdb4_crypt"

# vim: set filetype=sh :