From fb811406e9e730d69f18de1b556c88f4d6ba9c72 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 7 Aug 2017 13:42:05 +0100 Subject: [PATCH] Include utils in logging command So that functions can be called by logging app routines --- src/freedombone-logging | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/freedombone-logging b/src/freedombone-logging index c7f364f4..53edd165 100755 --- a/src/freedombone-logging +++ b/src/freedombone-logging @@ -40,6 +40,14 @@ WEBSERVER_LOG_LEVEL='warn' # Also the shred command can be very slow on Beaglebone Black REMOVE_FILES_COMMAND='rm -rf' +source /usr/local/bin/${PROJECT_NAME}-vars + +UTILS_FILES=/usr/share/${PROJECT_NAME}/utils/${PROJECT_NAME}-utils-* +for f in $UTILS_FILES +do + source $f +done + APP_FILES=/usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-app-* for f in $APP_FILES do