I changed the pi to use my local home server which runs an NTPd (daemon)
for the house by changing the ntp server in:

/etc/sysconfig/ntpserver

and changing /usr/bin/getTime.sh from:

/usr/sbin/ntpd -q -p $NTPSERVER

to

/usr/sbin/ntpd -p $NTPSERVER

I then added /etc/sysconfig/ntpserver and /usr/bin/getTime.sh to
/opt/.filetool.lst (as etc/sysconfig/ntpserver and usr/bin/getTime.sh)
followed by a backup (pcp bu).

When you reboot, you should now have an ntpd running.  You don't have to
have your own ntpd, you can just remove the -q in getTime.sh to run the
ntp daemon at startup and not close it, so it continues to run, and keep
the pi time accurate.

HTH!

Matt :)


------------------------------------------------------------------------
mutant_matt's Profile: http://forums.slimdevices.com/member.php?userid=37288
View this thread: http://forums.slimdevices.com/showthread.php?t=109404

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to