Changes

WPKG over VPN

10 bytes added, 11:30, 12 January 2009
m
no edit summary
if Host >= IPStart and Host <= IPEnd then
'NO-WPKG: VPN connection present
Wscript.Quit 01
else
'START-WPKG: local network present
Wscript.Quit 10
end if
end if
'NO-WPKG: local network not present
Wscript.Quit 1
</source>
==wpkg-start-vpn.bat==
call cscript %WPKGROOT%\check-vpn.vbs > nul
if not ERRORLEVEL 1 goto END 
%WPKGROOT%\wpkg.js /synchronize /quiet /nonotify
23
edits