Jump to content

NTP updates on startup


dotbg

Recommended Posts

Hello, Can some one to explain me, how exactly armbian set face RTC clock on interface up?

I need to synchronize clock on tx3 mini with local NTP server, but no success at this moment. There are no chrony or ntp running...

tx3mini@aml:~$ cat /etc/network/if-up.d/chrony 
#!/bin/sh

set -e

[ -x /usr/sbin/chronyd ] || exit 0

if [ -e /run/chronyd.pid ] &&
    ip r list dev $IFACE 2> /dev/null | grep -q '^default'; then
    chronyc online > /dev/null 2>&1
fi

exit 0

tx3mini@aml:~$ ls /usr/sbin/ch
chgpasswd  chmem      chpasswd   chroot

tx3mini@aml:~$ ls /etc/chrony/chrony.
chrony.conf  chrony.keys  

 

Link to comment
Share on other sites

  • Werner locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines