aboutsummaryrefslogtreecommitdiff
path: root/handlers/sh.in
blob: 384ca528b23271bb38a6b26e5ae676cef2d436ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
# vim: set filetype=sh sw=3 sts=3 expandtab autoindent:
#
# shell script handler for backupninja
# runs the file /etc/backup.d/scriptname.sh
#

# 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
}

[ $test ] || ( . $1 )