projects
/
backups
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added support for new cacheburnimg directive that will cache a burn image from the...
[backups/.git]
/
scripts
/
cron-burn.sh
diff --git
a/scripts/cron-burn.sh
b/scripts/cron-burn.sh
index 496793598d3785db118f3699ba6b00e879723417..4fe9a0b165ef26c4e84a82fa1afe38163330709c 100755
(executable)
--- a/
scripts/cron-burn.sh
+++ b/
scripts/cron-burn.sh
@@
-2,8
+2,12
@@
export PATH=$(dirname $0):/bin:/usr/bin:/sbin
export PATH=$(dirname $0):/bin:/usr/bin:/sbin
+# source the default configuration
. config.sh
. config.sh
+# source the system specific configuration
+[ -f /etc/lsbackups.conf ] && . /etc/lsbackups.conf
+
# burn-imgs.sh needs to be detached so that it can stop and start cron without
# dying itself.
# burn-imgs.sh needs to be detached so that it can stop and start cron without
# dying itself.