Modifications : etc/postgresql/9.4/main/pg_hba.conf
[lhc/ateliers.git] / host / part-root-umount
1 #!/bin/sh -eu
2 tool=$(readlink -e "${0%/*}/..")
3 . "$tool"/host/lib.sh
4
5 ! mountpoint -q /mnt/$local_fqdn ||
6 sudo umount -v /mnt/$local_fqdn
7 ! test -e /dev/mapper/${local_lvm_lv}_root_deciphered ||
8 sudo cryptsetup luksClose ${local_lvm_lv}_root_deciphered