Path: utzoo!attcan!uunet!samsung!umich!terminator!dabo.ifs.umich.edu!rees From: rees@dabo.ifs.umich.edu (Jim Rees) Newsgroups: comp.sys.apollo Subject: Re: 'rdate' for apollo Message-ID: <1990Apr11.163409.17893@terminator.cc.umich.edu> Date: 11 Apr 90 16:34:09 GMT References: <19554@boulder.Colorado.EDU> <1990Apr11.135251.13805@DSI.COM> Sender: usenet@terminator.cc.umich.edu (usenet news) Reply-To: rees@citi.umich.edu (Jim Rees) Organization: University of Michigan IFS Project Lines: 24 In article <1990Apr11.135251.13805@DSI.COM>, syd@DSI.COM (Syd Weinstein) writes: > I have suns on my net, but I changed them also over the ntpdate. > (from louie.udel.edu). ntpdate will poll master clock servers > and create a local service if necessary to set your clocks to > wwv time. ntpdate has a bug that prevents it from working when run from cron. Bill Sommerfeld of Apollo sent me a fix, which I didn't use all of, but this should be enough to make it work: *** ntpdate.c_o Wed Apr 11 12:32:17 1990 --- ntpdate.c Wed Apr 11 12:31:31 1990 *************** *** 1158,1163 **** --- 1158,1165 ---- full_recvbufs = 0; free_recvbufs = sys_numservers + 2; + setpgrp(0, getpid()); + /* * Point SIGIO at service routine */