Re: [Dorset] Raspberry Pi Issue with hwclock

2017-09-17 Thread Ralph Corderoy
Hi Terry, > the messages are being echoed when I simply type 'sudo /etc/rc.local' > in a shell but not when it is executed at boot up. Another command for your rc.local test is logger -t terry this is logger > Also, I know the command is being executed correctly at boot up, > because,

Re: [Dorset] Raspberry Pi Issue with hwclock

2017-09-17 Thread Ralph Corderoy
Hi Terry, > Bob Dunlop wrote: > > exec rdate -v 192.168.0.2 > > This only occurred to me last night. When I put the command into my > script without preceding it with 'exec' it appears to work. According > to the references I've found for exec, (including its man page), the > command allows

Re: [Dorset] Raspberry Pi Issue with hwclock

2017-09-17 Thread Bob Dunlop
Hi, On Sun, Sep 17 at 07:18, Terry Coles wrote: > On Saturday, 16 September 2017 19:09:27 BST Bob Dunlop wrote: > > exec rdate -v 192.168.0.2 > > This only occurred to me last night. When I put the command into my script > without preceding it with 'exec' it appears to work. According to

Re: [Dorset] Raspberry Pi Issue with hwclock

2017-09-17 Thread Terry Coles
Ralph, Thanks for all the information. I'll probably not get round to looking at it for a few days because I shortly have to set off for the Midlands to collect my mother, who is staying with us for the week. I'll give it a whirl to see what's, what. Just at the moment though, I only have

Re: [Dorset] Raspberry Pi Issue with hwclock

2017-09-17 Thread Terry Coles
On Saturday, 16 September 2017 19:09:27 BST Bob Dunlop wrote: > exec rdate -v 192.168.0.2 This only occurred to me last night. When I put the command into my script without preceding it with 'exec' it appears to work. According to the references I've found for exec, (including its man