summaryrefslogtreecommitdiffstats
path: root/remote/modules
diff options
context:
space:
mode:
authorChristian Rößler2015-04-10 17:10:07 +0200
committerChristian Rößler2015-04-10 17:10:07 +0200
commit52f1c45f1d777cde11fe5647f66f3878197dad21 (patch)
tree68cb12adda2929edd69b645e59b6d6b62985dd7c /remote/modules
parent[vmchooser2] A sick prototype windows batch file, copying this file into fd.img (diff)
downloadtm-scripts-52f1c45f1d777cde11fe5647f66f3878197dad21.tar.gz
tm-scripts-52f1c45f1d777cde11fe5647f66f3878197dad21.tar.xz
tm-scripts-52f1c45f1d777cde11fe5647f66f3878197dad21.zip
[vmchooser2] Ugly hack for sharelws.bat to wait 5 sec via ping
(as cmd has no wait/sleep etc until Win7)
Diffstat (limited to 'remote/modules')
-rw-r--r--remote/modules/vmchooser2/data/opt/openslx/vmchooser/data/SHARELWS.BAT7
1 files changed, 7 insertions, 0 deletions
diff --git a/remote/modules/vmchooser2/data/opt/openslx/vmchooser/data/SHARELWS.BAT b/remote/modules/vmchooser2/data/opt/openslx/vmchooser/data/SHARELWS.BAT
index 609c4f98..01838705 100644
--- a/remote/modules/vmchooser2/data/opt/openslx/vmchooser/data/SHARELWS.BAT
+++ b/remote/modules/vmchooser2/data/opt/openslx/vmchooser/data/SHARELWS.BAT
@@ -2,6 +2,13 @@
setlocal EnableDelayedExpansion
+rem Kein sleep oder timeout bis Win7, also einen
+rem haesslichen Hack (Zeitverz. ca. 5 sec)
+rem Sinn der Verzoegerung: Mitunter (1/3) wird
+rem sonst das erste Netzlaufwerk nicht eingehaengt
+
+@ping -n 5 localhost> nul
+
rem Konfigdatei auslesen und erstmal in Feld:
set n=0
for /f %%i in (b:\sharelw.cfg) do (