projects
/
backups
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Used Carl's super-cool shell script shorthand to source system config file.
[backups/.git]
/
scripts
/
burn-imgs.sh
diff --git
a/scripts/burn-imgs.sh
b/scripts/burn-imgs.sh
index f33ea99251242a5a1affdc700c0df307f995d8b7..bffc5e9544345ed62e9b12352cedfc6edd27740a 100755
(executable)
--- a/
scripts/burn-imgs.sh
+++ b/
scripts/burn-imgs.sh
@@
-8,10
+8,7
@@
cronstopstart="/etc/init.d/cron"
. 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
# If the noburn file is there then don't burn.
[ -f "$noburnfile" ] && exit 0
# If the noburn file is there then don't burn.
[ -f "$noburnfile" ] && exit 0