I try to sync my linux machine with a NTP server. The time has to be written to hardware clock and all has to work at runtime - my machine will never shutdown - only way to reboot is a reset/watchdog/power cycle.
I try to run a startup script:
until /usr/sbin/rcntp ntptimeset > /dev/null; do
echo “retrying sync with timeserver, result was $?”
if $loopC -gt 4 ]; then
echo “giving up”
but it isn’t working.
When I reset After this script, the hardware clock doesn’t show correct time/date. running the commands manually at console, seems to work. What could be by fault?
thanks in advice
TFrei is online now Report Post Reply With Quote