mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2026-02-05 22:55:17 +01:00
This commit is contained in:
15
nsclient/install.bat
Normal file
15
nsclient/install.bat
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
@echo off
|
||||||
|
|
||||||
|
net stop NSClientpp
|
||||||
|
|
||||||
|
xcopy "%ProgramFiles%\NSclient++\*.ini" "%ProgramFiles%\NSclient++\backup\" /i /h /y
|
||||||
|
xcopy .\trunk\*.* "%ProgramFiles%\NSclient++\" /e /i /h /y
|
||||||
|
|
||||||
|
"%ProgramFiles%\NSclient++\nsclient++.exe" -uninstall
|
||||||
|
"%ProgramFiles%\NSclient++\nsclient++.exe" -install
|
||||||
|
Net Start NSClientpp
|
||||||
|
|
||||||
|
|
||||||
|
echo "-------- INSTALL COMPLETED --------------"
|
||||||
|
echo "Remember to notepad %ProgramFiles%\NSclient++\check_eva.ini"
|
||||||
|
pause
|
||||||
Reference in New Issue
Block a user