Changes

NTP client configuration

158 bytes added, 23:33, 15 February 2011
m
correct xml synxtax error
<install cmd='cmd /c net time /setsntp:192.168.0.1' />
<install cmd='cmd /c net time \\192.168.0.1 /set /yes' />
<install cmd='cmd /c net stop w32time & amp; net start w32time' />
<install cmd='cmd /c w32tm /resync /nowait' />
<remove cmd='cmd /c net time /setsntp:time.windows.com' />
<remove cmd='cmd /c net stop w32time & amp; net start w32time' />
<remove cmd='cmd /c w32tm /resync /nowait' />
</package>
</source>
 
Note: You must use & in place of & within cmd variable expression of xml file else you get the error: "Whitespace is not allowed at this location."
or:
2
edits