diff --git a/local_Onboot.bat b/local_Onboot.bat index 9b43ad6..b8db6c7 100644 --- a/local_Onboot.bat +++ b/local_Onboot.bat @@ -6,7 +6,15 @@ echo "%~n0: Start" ping -n 7 -i 7 192.8.1.1 call %TMESSAGE% '"STARTED local %check_computername% "' -ping -n 7 -i 7 192.8.1.1 -call %TMESSAGEH% '" %check_computername% has STARTED "' + +if "%check_computername%" EQU "SERVER" ( + ping -n 7 -i 7 192.8.1.1 + call %TMESSAGEH% '" %check_computername% has STARTED "' +) + +if "%check_computername%" EQU "SERVER2" ( + ping -n 7 -i 7 192.8.1.1 + call %TMESSAGEH% '" %check_computername% has STARTED "' +) del C:\Packages\Scripts\vOnBoot.bat