gabriel 6 lat temu
rodzic
commit
cb437597ae
1 zmienionych plików z 6 dodań i 1 usunięć
  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