Ver código fonte

source setup from execute_dir

Laurent HUBERT 9 meses atrás
pai
commit
4ad9d662a6
1 arquivos alterados com 6 adições e 2 exclusões
  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