[wpkg-users] NTP time synchronisation

Anthony Walters anthony.walters at dkit.ie
Tue Dec 20 11:22:56 CET 2011


Hi,

Does anyone else use WPKG to dish out NTP time configuration settings, 
and care to put your package up here? I want to get a configuration 
nailed down and am wondering if i have missed something.

Here's mine so far:

<package
         id="ntp-client"
         name="NTP time synchronization"
         revision="1"
         priority="999"
         reboot="false"
         execute="once">
         <install cmd='%COMSPEC% /c sc config w32time start= auto' />
         <install cmd='%COMSPEC% /c sc start w32time' />
         <install cmd='%COMSPEC% /c w32tm /config 
/manualpeerlist:ntp.dkit.ie,0x09 /syncfromflags:MANUAL /update' />
         <remove cmd='%COMSPEC% /c w32tm /config 
/manualpeerlist:time.windows.com,0x09 /syncfromflags:MANUAL /update' />
         <remove cmd='%COMSPEC% /c sc stop w32time' />
         <remove cmd='%COMSPEC% /c sc config w32time start= demand' />
</package>


Cheers
Anthony



More information about the wpkg-users mailing list