Added sourcing of system specific configuration file /etc/lsbackups.conf if it exists.
[backups/.git] / scripts / eject-disk.sh
index 32220f1bfaa5f0bdf96e9d04da81d8bc11d73e4e..ca2795cc1051266c84332b2287f15bed428dfacc 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 
+
 eject $dev
 
 rm -f $noburnfile