From 7e8f7a0ef4c828490f1e18c551e890dfa13ea566 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 4 Oct 2014 12:01:02 +0100 Subject: [PATCH] Include time sources in configuration file --- install-freedombone.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install-freedombone.sh b/install-freedombone.sh index 3b4432b0..2ee51fd1 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -380,6 +380,12 @@ function read_configuration { if grep -q "MAX_PHP_MEMORY" $CONFIGURATION_FILE; then MAX_PHP_MEMORY=$(grep "MAX_PHP_MEMORY" $CONFIGURATION_FILE | awk -F '=' '{print $2}') fi + if grep -q "TLS_TIME_SOURCE1" $CONFIGURATION_FILE; then + TLS_TIME_SOURCE1=$(grep "TLS_TIME_SOURCE1" $CONFIGURATION_FILE | awk -F '=' '{print $2}') + fi + if grep -q "TLS_TIME_SOURCE2" $CONFIGURATION_FILE; then + TLS_TIME_SOURCE2=$(grep "TLS_TIME_SOURCE2" $CONFIGURATION_FILE | awk -F '=' '{print $2}') + fi fi }