소스 검색

Add entrypoint

gabriel 6 년 전
부모
커밋
cb437597ae
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  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