2 tool
=$
(readlink
-e "${0%/*}/..")
5 ! sudo mountpoint
-q /mnt
/$local_fqdn/root
/src
/vm ||
6 sudo umount
-v /mnt
/$local_fqdn/root
/src
/vm
7 ! mountpoint
-q /mnt
/$local_fqdn/dev ||
8 sudo umount
-v /mnt
/$local_fqdn/dev
9 ! mountpoint
-q /mnt
/$local_fqdn/sys ||
10 sudo umount
-v /mnt
/$local_fqdn/sys
11 ! mountpoint
-q /mnt
/$local_fqdn/proc ||
12 sudo umount
-v /mnt
/$local_fqdn/proc
13 "$tool"/host
/part-home-umount
14 "$tool"/host
/part-var-umount
15 "$tool"/host
/part-boot-umount
16 "$tool"/host
/part-root-umount
17 "$tool"/host
/disk-umount