fix
This commit is contained in:
parent
6467c4fc1c
commit
d7ab2d82be
1 changed files with 5 additions and 1 deletions
|
@ -55,8 +55,12 @@ function secureumount() {
|
||||||
#umount -R /mnt
|
#umount -R /mnt
|
||||||
fi
|
fi
|
||||||
elif [ "${dateisystem}" == "ext4" ]; then
|
elif [ "${dateisystem}" == "ext4" ]; then
|
||||||
if cat /proc/mounts | grep ${mountpoint} > /dev/null; then
|
|
||||||
|
if cat /proc/mounts | grep ${mountpoint}/boot > /dev/null; then
|
||||||
umount ${mountpoint}/boot
|
umount ${mountpoint}/boot
|
||||||
|
fi
|
||||||
|
|
||||||
|
if cat /proc/mounts | grep ${mountpoint} > /dev/null; then
|
||||||
umount ${mountpoint}
|
umount ${mountpoint}
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue