]> arthur.barton.de Git - backup-script.git/commitdiff
Use /usr/local/etc/backup-script.conf by default (not /etc/...)
authorAlexander Barton <alex@barton.de>
Tue, 18 Aug 2015 08:35:59 +0000 (10:35 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 18 Aug 2015 08:35:59 +0000 (10:35 +0200)
bin/backup-script

index 9a8ad2bb0890544101fe50290b5a3aca054ed68f..2f2eee154a782c51508a05ef33ac07bf8d85c7f1 100755 (executable)
@@ -266,8 +266,9 @@ Initialize_Last_SysTarget_Snapshot() {
 # Search configuration file (last one is used as default!)
 for conf in \
        "/usr/local/etc/backup-script.conf" \
-       "${conf_d}/backup-script.conf" \
        "/etc/backup-script.conf" \
+       "${conf_d}/backup-script.conf" \
+       "/usr/local/etc/backup-script.conf" \
 ; do
        [ -r "$conf" ] && break
 done