Used Carl's super-cool shell script shorthand to source system config file.
[backups/.git] / scripts / burn-imgs.sh
index f33ea99251242a5a1affdc700c0df307f995d8b7..bffc5e9544345ed62e9b12352cedfc6edd27740a 100755 (executable)
@@ -8,10 +8,7 @@ cronstopstart="/etc/init.d/cron"
 . 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