-function deleteLock {
- if ! rmdir /tmp/$(basename $0).lock; then
- scottyerror "Could not delete lockfile /tmp/$(basename $0).lock!"
- fi
-}
-
-function prepare {
- scottyinfo "Preparing for sync"
-}
-
-function cleanup_abrt {
- scottyinfo "No cleanup_abrt function was defined."
-}
-
-function _cleanup_abrt {
- scottyerror "Caught exit signal! Cleaning up..."