home/bin/umount.sh
2021-01-28 17:37:54 +01:00

19 lines
399 B
Bash
Executable file

#!/bin/sh
# A mettre dans le dossier : /lib/systemd/system-sleep
PATH=/bin:/usr/bin
case ${1} in
pre)
fusermount -u /home/dbroqua/Gdrive
fusermount -u /home/dbroqua/S3FS
umount -f /media/freebox
umount -f /media/malpartida/dbroqua
umount -f /media/malpartida/medias
umount -f /media/malpartida/family
;;
*)
exit ${NA}
esac