]> git.etc.gen.nz Git - laptop-tools.git/commitdiff
Kill bup when the VPN goes down master
authorAndrew Ruthven <puck@catalyst.net.nz>
Wed, 18 Dec 2019 09:14:11 +0000 (22:14 +1300)
committerAndrew Ruthven <andrew@etc.gen.nz>
Wed, 18 Dec 2019 09:14:11 +0000 (22:14 +1300)
NetworkManager/dispatcher.d/20network-shares

index aa798caad8f6345e47e752c54f22df147edc0be5..f70f387e06c1fdd262c6fe6bbf438721bc9106d3 100755 (executable)
@@ -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.