Explorar el Código

[MODULES][Terminal] Minor change in installer logic

DSR! hace 2 años
padre
commit
8e2d36aa42
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  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
     fi
     fi
 
 
+    sleep 2
+    
     uci set ttyd.@ttyd[0].port=1477
     uci set ttyd.@ttyd[0].port=1477
     #uci set ttyd.@ttyd[0].index='/pineapple/modules/Terminal/ttyd/iframe.html'
     #uci set ttyd.@ttyd[0].index='/pineapple/modules/Terminal/ttyd/iframe.html'
     uci commit ttyd
     uci commit ttyd
-
-    sleep 2
+    
     /etc/init.d/ttyd disable
     /etc/init.d/ttyd disable
 
 
     add_log "Installation complete!"
     add_log "Installation complete!"