Read system type from configuration
This commit is contained in:
parent
e01468148c
commit
a99aaab878
|
@ -675,6 +675,9 @@ function read_configuration {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f $CONFIGURATION_FILE ]; then
|
if [ -f $CONFIGURATION_FILE ]; then
|
||||||
|
if grep -q "SYSTEM_TYPE" $CONFIGURATION_FILE; then
|
||||||
|
SYSTEM_TYPE=$(grep "SYSTEM_TYPE" $CONFIGURATION_FILE | awk -F '=' '{print $2}')
|
||||||
|
fi
|
||||||
if grep -q "SSL_PROTOCOLS" $CONFIGURATION_FILE; then
|
if grep -q "SSL_PROTOCOLS" $CONFIGURATION_FILE; then
|
||||||
SSL_PROTOCOLS=$(grep "SSL_PROTOCOLS" $CONFIGURATION_FILE | awk -F '=' '{print $2}')
|
SSL_PROTOCOLS=$(grep "SSL_PROTOCOLS" $CONFIGURATION_FILE | awk -F '=' '{print $2}')
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue