Possible bug fix for interactive install

This commit is contained in:
Bob Mottram 2015-02-01 18:22:24 +00:00
parent e74fce956b
commit 1eae495b8b
1 changed files with 3 additions and 0 deletions

View File

@ -694,6 +694,9 @@ function read_configuration {
fi
if [ -f $CONFIGURATION_FILE ]; then
if grep -q "DOMAIN_NAME" $CONFIGURATION_FILE; then
DOMAIN_NAME=$(grep "DOMAIN_NAME" $CONFIGURATION_FILE | awk -F '=' '{print $2}')
fi
if grep -q "NAMESERVER1" $CONFIGURATION_FILE; then
NAMESERVER1=$(grep "NAMESERVER1" $CONFIGURATION_FILE | awk -F '=' '{print $2}')
fi