Added sourcing of system specific configuration file /etc/lsbackups.conf if it exists.
[backups/.git] / scripts / eject-disk.sh
1 #!/bin/sh
2
3 export PATH=$(dirname $0):/bin:/usr/bin:/sbin
4
5 # source the default configuration
6 . config.sh
7
8 # source the system specific configuration
9 if [ -f /etc/lsbackups.conf ]
10 then
11   . /etc/lsbackups.conf
12 fi 
13
14 eject $dev
15
16 rm -f $noburnfile