bug fixes for options program

This commit is contained in:
John Supplee 2019-03-09 16:05:17 +02:00
parent 773276f4fe
commit 0100801a24
1 changed files with 6 additions and 1 deletions

View File

@ -194,9 +194,14 @@ if [ -z "${STORAGE_ROOT:-}" ]; then
STORAGE_ROOT=$([[ -z "${DEFAULT_STORAGE_ROOT:-}" ]] && echo "/home/$STORAGE_USER" || echo "$DEFAULT_STORAGE_ROOT")
fi
# export options variables so they are visible to the options program
export POSTGREY
export POSTSRSD
export POLICY_SPF
python3 setup/options-dialog.py
source ./_options.sh
rm _optoins.sh
rm _options.sh
# Show the configuration, since the user may have not entered it manually.