]> git.treefish.org Git - backmeupscotty.git/blobdiff - backmeupscotty-example
Added placeholder cleanup function.
[backmeupscotty.git] / backmeupscotty-example
index 9418571c3ca1688a566ccfc722448d4723143325..a028abecbc325a219670e6fcc1bd43cb78a2fb6f 100755 (executable)
@@ -12,14 +12,11 @@ SYNC_EXC="/gack,/gugu/*"
 
 function prepare {
     echo "prepare"
+    sleep 5
 }
 
-function cleanup_normal {
-    echo "cleanup"
+function cleanup {
+    [ -z "$1" ] && echo "normal cleanup" || echo "abort cleanup"
 }
 
-function cleanup_abrt {
-    echo "cleanup_abrt"
-}
-
-backmeupscotty
+backmeupscotty $@