瀏覽代碼

[MODULES][Terminal] Minor change in installer logic

DSR! 2 年之前
父節點
當前提交
8e2d36aa42
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      modules/src/Terminal/scripts/dependencies.sh

+ 3 - 2
modules/src/Terminal/scripts/dependencies.sh

@@ -43,11 +43,12 @@ if [[ "$1" = "install" ]]; then
         fi
     fi
 
+    sleep 2
+    
     uci set ttyd.@ttyd[0].port=1477
     #uci set ttyd.@ttyd[0].index='/pineapple/modules/Terminal/ttyd/iframe.html'
     uci commit ttyd
-
-    sleep 2
+    
     /etc/init.d/ttyd disable
 
     add_log "Installation complete!"