From: Andrew Ruthven Date: Wed, 18 Dec 2019 09:14:11 +0000 (+1300) Subject: Kill bup when the VPN goes down X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7adec16d43a7475cf74e0c3987fb33450162c02;p=laptop-tools.git Kill bup when the VPN goes down --- diff --git a/NetworkManager/dispatcher.d/20network-shares b/NetworkManager/dispatcher.d/20network-shares index aa798ca..f70f387 100755 --- a/NetworkManager/dispatcher.d/20network-shares +++ b/NetworkManager/dispatcher.d/20network-shares @@ -72,6 +72,7 @@ case "$2" in # Autofs, your job is done. /etc/init.d/autofs stop killall obnam + killall bup # Lazy unmount the Network shares, as they may be busy and autofs stopping # doesn't remove them.