From: Andrew Ruthven Date: Wed, 26 Jun 2019 09:43:21 +0000 (+1200) Subject: I've switched to bup X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7aa6ad7aae2ce3e0b9bf7536d0ac302f395a2dc0;p=laptop-tools.git I've switched to bup --- diff --git a/NetworkManager/dispatcher.d/20network-shares b/NetworkManager/dispatcher.d/20network-shares index 9ecf3d6..aa798ca 100755 --- a/NetworkManager/dispatcher.d/20network-shares +++ b/NetworkManager/dispatcher.d/20network-shares @@ -36,6 +36,10 @@ case "$2" in then echo /usr/lib/etc-obnam/run-backup | at now + 10 minutes fi + if [ -f /usr/lib/etc-bup/run-backup ] + then + echo /usr/lib/etc-bup/run-backup | at now + 10 minutes + fi else echo "On a foreign network, make sure we clean up" >> /tmp/nm.set for user in $(ls /home/*/.gtk-bookmarks | sed 's/\/home\///; s/\/.*//') @@ -45,6 +49,7 @@ case "$2" in /etc/init.d/autofs stop killall obnam + killall bup for x in $(mount | grep Network | sed 's/^.* on //; s/ type .*//' | sort -r); do umount -l $x; done fi diff --git a/debian/control b/debian/control index 4b75372..20105d5 100644 --- a/debian/control +++ b/debian/control @@ -11,6 +11,6 @@ Vcs-Browser: http://git.etc.gen.nz/?p=laptop-tools.git;a=summary Package: etc-laptop-tools Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, at -Recommends: etc-obnam, autofs, network-manager +Recommends: etc-bup, autofs, network-manager Description: Behind the scenes tools to make laptops more useful Hook for NetworkManager and aufs.