Added sourcing of system specific configuration file /etc/lsbackups.conf if it exists.
[backups/.git] / scripts / cron-burn.sh
index 496793598d3785db118f3699ba6b00e879723417..f2ca41480a0f72984a3130338fcd67858103421d 100755 (executable)
@@ -2,8 +2,15 @@
 
 export PATH=$(dirname $0):/bin:/usr/bin:/sbin
 
+# source the default configuration
 . config.sh
 
+# source the system specific configuration
+if [ -f /etc/lsbackups.conf ]
+then
+  . /etc/lsbackups.conf
+fi
+
 # burn-imgs.sh needs to be detached so that it can stop and start cron without
 # dying itself.