backupninja/handlers/sh.in

16 lines
416 B
Plaintext
Raw Normal View History

# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
# vim: set filetype=sh sw=3 sts=3 expandtab autoindent:
2004-12-09 05:37:12 +01:00
#
# shell script handler for backupninja
# runs the file /etc/backup.d/scriptname.sh
#
2004-12-09 05:37:12 +01:00
# No-op function so that 'when = XXX' can be written as such in
# backup.d/*.sh, i.e. with spaces around the equal sign - as in every
# other backup.d/ file.
function when() {
true
}
2004-12-09 05:37:12 +01:00
[ $test ] || ( . $1 )