WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Add getTime.sh to boot  (Read 6504 times)

Offline hiro

  • Hero Member
  • *****
  • Posts: 1152
Re: Add getTime.sh to boot
« Reply #15 on: October 24, 2012, 11:53:40 PM »
Code: [Select]
root@fh:~# grep -r getTime /etc
/etc/etc/init.d/settime.sh: until /usr/bin/getTime.sh >/dev/null 2>&1
root@fh:~# grep -r settime.sh /etc
/etc/init.d/rcS: [ -z "$NORTC" ] || /etc/init.d/settime.sh &
/etc/init.d/tc-config: [ -z "$NORTC" ] || /etc/init.d/settime.sh &

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Add getTime.sh to boot
« Reply #16 on: October 25, 2012, 12:23:10 AM »
Thank you Hiro,  I see settime.sh  calls  getTime.sh 

will have to investigate why my time is not updated

 8)

Offline hiro

  • Hero Member
  • *****
  • Posts: 1152
Re: Add getTime.sh to boot
« Reply #17 on: October 25, 2012, 12:47:32 AM »
you might experience the same problem as me, that the server does not respond most of the time, and it is only tried once.

I just sync to my local ntp server with ntpclient.tcz instead.