update external filenames and remove unset vars

This commit is contained in:
Asif Bacchus 2019-05-19 00:23:12 -06:00
parent 3ed929a74c
commit 0b95c16f0f

View File

@ -276,34 +276,17 @@ err503Path="$scriptPath/503.html"
err503File="${err503Path##*/}"
# set default sqlDetails path to scriptPath
sqlDetails="$scriptPath/nc_sql.details"
sqlDetails="$scriptPath/seaf_sql.details"
# set default borgDetails path to scriptPath
borgDetails="$scriptPath/nc_borg.details"
borgDetails="$scriptPath/seaf_borg.details"
# set borg parameters to 'normal' verbosity
borgCreateParams='--stats'
borgPruneParams='--list'
### Set script parameters to null and initialize array variables
unset PARAMS
unset sqlDumpDir
unset webroot
unset ncRoot
unset webUser
unset clean503
unset sqlParams
unset ncDataDir
unset borgXtra
unset borgExclude
unset borgPrune
unset BORG_BASE_DIR
unset BORG_RSH
unset BORG_REPO
unset BORG_PASSPHRASE
unset BORG_REMOTE_PATH
unset TMPDIR
### initialize array variables
exitError=()
errorExplain=()
exitWarn=()