Explorar o código

source setup from execute_dir

Laurent HUBERT hai 9 meses
pai
achega
4ad9d662a6
Modificáronse 1 ficheiros con 6 adicións e 2 borrados
  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