Artificial intelligent assistant

NTPDate runs three times at boot resulting in incorrect date I am running Voyage Linux (a Debian-based distribution) and am having trouble getting the correct date. When I look in `/var/log/daemon.log` I see the following: Nov 18 11:04:07 voyage ntpdate[1676]: step time server 203.97.109.165 offset 2141299826.398106 sec Aug 20 17:06:20 voyage ntpdate[1710]: step time server 119.47.118.129 offset 2141299826.401065 sec Jun 28 06:36:47 voyage ntpdate[1744]: step time server 203.97.109.165 offset 2141299826.460901 sec The correct date is `Nov 18 11:04:07` but it is getting changed to the middle of June. How can I fix this?

I found the solution on this website. NTPdate was trying to update the date each time an interface went up, which in my case was three times during the boot process. So I modified `/etc/network/if-up.d/ntpdate` to only run `ntpdate` if `eth0` goes up by adding the following to the top of the script:


# Only update the date if eth0 goes up.
if [ "$IFACE" != eth0 ]; then
exit 0
fi

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy c15fb8d402d1b7b05957a1a1fee6ff66