From a99aaab878ae39c65dd948ec2c73cba00d7c5281 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 14 Feb 2015 17:49:25 +0000 Subject: [PATCH] Read system type from configuration --- src/freedombone | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/freedombone b/src/freedombone index bab5ae98..4a5f0d63 100755 --- a/src/freedombone +++ b/src/freedombone @@ -675,6 +675,9 @@ function read_configuration { fi 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 SSL_PROTOCOLS=$(grep "SSL_PROTOCOLS" $CONFIGURATION_FILE | awk -F '=' '{print $2}') fi