projects
/
backups
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added sourcing of system specific configuration file /etc/lsbackups.conf if it exists.
[backups/.git]
/
scripts
/
cron-burn.sh
1
#!/bin/sh
2
3
export PATH=$(dirname $0):/bin:/usr/bin:/sbin
4
5
# source the default configuration
6
. config.sh
7
8
# source the system specific configuration
9
if [ -f /etc/lsbackups.conf ]
10
then
11
. /etc/lsbackups.conf
12
fi
13
14
# burn-imgs.sh needs to be detached so that it can stop and start cron without
15
# dying itself.
16
17
setsid burn-imgs.sh