소스 검색

source setup from execute_dir

Laurent HUBERT 9 달 전
부모
커밋
4ad9d662a6
1개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. 6 2
      scripts/execute_dir

+ 6 - 2
scripts/execute_dir

@@ -1,4 +1,8 @@
 #!/bin/sh
 
-	if [ -z "${SSH_PORT:-}" ]
-    then
+if [ -z "${CONFIGURATION_DIR:-}" ]
+then
+    CONFIGURATION_DIR=/etc/lfirewall
+    . ${CONFIGURATION_DIR}/setup
+
+fi