umount.sh 392 Bytes
Newer Older
1
#!/bin/bash
2
# shellcheck disable=SC1090
3

4
PREFIX="${PWD}"
5

6 7 8 9 10
umount -l "${PREFIX}/chroot/casper" || echo "chroot/casper"
umount -l "${PREFIX}/chroot/dev/pts" || echo "chroot/dev/pts nao montado"
umount -l "${PREFIX}/chroot/dev" || echo "chroot/dev nao montado"
umount -l "${PREFIX}/chroot/sys" || echo "chroot/sys nao montado"
umount -l "${PREFIX}/chroot/proc" || echo "chroot/proc nao montado"