]> git.treefish.org Git - backmeupscotty.git/blobdiff - backmeupscotty-example
Added placeholder cleanup function.
[backmeupscotty.git] / backmeupscotty-example
index b9acea7c639202dbefc444e137af0c16d699a3c0..a028abecbc325a219670e6fcc1bd43cb78a2fb6f 100755 (executable)
@@ -10,4 +10,13 @@ BACKUP_RUNEVERYNTHDAY=1
 SYNC_SRC="/home/regina/backtest/source"
 SYNC_EXC="/gack,/gugu/*"
 
 SYNC_SRC="/home/regina/backtest/source"
 SYNC_EXC="/gack,/gugu/*"
 
-backmeupscotty
+function prepare {
+    echo "prepare"
+    sleep 5
+}
+
+function cleanup {
+    [ -z "$1" ] && echo "normal cleanup" || echo "abort cleanup"
+}
+
+backmeupscotty $@