Bump the revision number
[backups/.git] / scripts / eject-disk.sh
index 713e45ab3d7d3026bc25446eeda4d961d9561511..811a4569bbdf0cab3ed6f84260092ba7c38543d2 100755 (executable)
@@ -1,9 +1,13 @@
 #!/bin/sh
 
-export PATH=$(dirname $0):/bin:/usr/bin
+export PATH=$(dirname $0):/bin:/usr/bin:/sbin
 
+# source the default configuration
 . config.sh
 
+# source the system specific configuration
+[ -f /etc/lsbackups.conf ] && . /etc/lsbackups.conf
+
 eject $dev
 
-rm -f $burnlockfile
+rm -f $noburnfile