projects
/
backups
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
I think we can safely give rundir a default value.
[backups/.git]
/
scripts
/
cron-burn.sh
diff --git
a/scripts/cron-burn.sh
b/scripts/cron-burn.sh
index f2ca41480a0f72984a3130338fcd67858103421d..4fe9a0b165ef26c4e84a82fa1afe38163330709c 100755
(executable)
--- a/
scripts/cron-burn.sh
+++ b/
scripts/cron-burn.sh
@@
-6,10
+6,7
@@
export PATH=$(dirname $0):/bin:/usr/bin:/sbin
. config.sh
# source the system specific configuration
. config.sh
# source the system specific configuration
-if [ -f /etc/lsbackups.conf ]
-then
- . /etc/lsbackups.conf
-fi
+[ -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.