fix: etc dirname
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
if [ -f config.properties ]; then
|
||||
source config.properties
|
||||
elif [ -f /etc/autoBackup/config.properties ]; then
|
||||
source /etc/autoBackup/config.properties
|
||||
elif [ -f /etc/autobackup/config.properties ]; then
|
||||
source /etc/autobackup/config.properties
|
||||
else
|
||||
>&2 echo Could not find config.properties
|
||||
exit 1
|
||||
@@ -11,8 +11,8 @@ fi
|
||||
|
||||
if [ -f backup.list ]; then
|
||||
SOURCE_LIST_FILE=backup.list
|
||||
elif [ -f /etc/autoBackup/backup.list ]; then
|
||||
SOURCE_LIST_FILE=/etc/autoBackup/backup.list
|
||||
elif [ -f /etc/autobackup/backup.list ]; then
|
||||
SOURCE_LIST_FILE=/etc/autobackup/backup.list
|
||||
else
|
||||
>&2 echo Could not find backup.list
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user