home/lib/systemd/system-sleep/close-ssh.sh

6 lines
89 B
Bash
Executable file

#! /bin/bash
if [ "${1}" == "pre" ]; then
umount /home/dbroqua/Music
killall ssh
fi