Browse Source

Add entrypoint

gabriel 6 years ago
parent
commit
cb437597ae
1 changed files with 6 additions and 1 deletions
  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