#!/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
