I'm maintaining some cronjobs on machines that are set to be patched to the service pack of SLES11sp4, it appears that the service pack is upgrading sntp from version 4.2.4p8 to 4.2.8p2 and somewhere in the midst of those releases they dropped the "-P" parameter.
From the old man page:
-P prompt sets the maximum clock change that will be made automatically to maxerr. Acceptable values are from 1 to 3600 or no, and the default is 30. If the program is being run interactively in ordinary client mode, and the system clock is to be changed, larger corrections will prompt the user for confirmation. Specifying no will disable this and the correction will be made regardless.
and I use it in a cron job very simply:
/usr/sbin/sntp -P no -r $ips >& /dev/null /usr/sbin/sntp -P no -r $ips >& /dev/null
where $ips are hopefully some ip addresses.
I didn't see anything in the new version that looked like this or a quiet mode or anything useful. So is this just the default now and I can just remove the "-P" or is there something else that needs doing