split the common control for the server in its own control script

This commit is contained in:
Mario Fetka
2013-08-16 17:24:34 +02:00
parent 4367b63687
commit 6ff8245e8c
4 changed files with 19 additions and 9 deletions

View File

@@ -136,12 +136,3 @@ DefVar $server_viewonlypassword_set$
Set $server_viewonlypassword_set$ = GetProductProperty("server_viewonlypassword_set", "0")
DefVar $server_viewonlypassword_value_of$
Set $server_viewonlypassword_value_of$ = GetProductProperty("server_viewonlypassword_value_of", "")
[DosInAnIcon_stop_server]
net stop tvnserver
ping 127.0.0.1 -n 5 >nul
taskkill /F /IM tvnserver.exe
ping 127.0.0.1 -n 5 >nul
[DosInAnIcon_start_server]
net start tvnserver