Explorar el Código

Add entrypoint

gabriel hace 6 años
padre
commit
cb437597ae
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. 6 1
      execute.sh

+ 6 - 1
execute.sh

@@ -6,5 +6,10 @@ then
 	sleep 360
     echo "SALIO"
 else
-    sh /opt/script.sh
+    if [ "$1" == "bash" ];
+    then
+        bash
+    else
+        sh /opt/script.sh
+    fi
 fi