149d409be8f9e7503f24e7b6b3d0866a0074f3f8
[lhc/ateliers.git] / host / part-boot-umount
1 #!/bin/sh -eu
2 tool=$(readlink -e "${0%/*}/..")
3 . "$tool"/host/lib.sh
4
5 ! mountpoint -q /mnt/$local_fqdn/boot ||
6 sudo umount -v /mnt/$local_fqdn/boot