Added script to close ssh connection on suspend system
This commit is contained in:
parent
1cfbafe4ab
commit
7e870a26f9
2 changed files with 11 additions and 0 deletions
6
lib/systemd/system-sleep/close-ssh.sh
Executable file
6
lib/systemd/system-sleep/close-ssh.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#! /bin/bash
|
||||
|
||||
if [ "${1}" == "pre" ]; then
|
||||
umount /home/dbroqua/Music
|
||||
killall ssh
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue