소스 검색

Include utils in logging command

So that functions can be called by logging app routines
Bob Mottram 7 년 전
부모
커밋
fb811406e9
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. 8
    0
      src/freedombone-logging

+ 8
- 0
src/freedombone-logging 파일 보기

@@ -40,6 +40,14 @@ WEBSERVER_LOG_LEVEL='warn'
40 40
 # Also the shred command can be very slow on Beaglebone Black
41 41
 REMOVE_FILES_COMMAND='rm -rf'
42 42
 
43
+source /usr/local/bin/${PROJECT_NAME}-vars
44
+
45
+UTILS_FILES=/usr/share/${PROJECT_NAME}/utils/${PROJECT_NAME}-utils-*
46
+for f in $UTILS_FILES
47
+do
48
+    source $f
49
+done
50
+
43 51
 APP_FILES=/usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-app-*
44 52
 for f in $APP_FILES
45 53
 do