Which service is getting time & date on Debian Wheezy? I want to disable it.

I’m trying to disable the service that gets the time and date over the Internet. I want to do that in hopes that the BBB will instead get the time and date from my Adafruit DS3231 and I suspect the BBB is trying for a minute to get the time and date over the Internet. with the result that the BBB doesn’t read the time and date from my DS3231 for a minute.

There is no ntpdate service on the Wheezy, or I would simply disable it.

If systemd is enabled disabling timedatectl will do it.

#systemctl disable timedatectl


I can’t find timedatectl. It’s not a service in /lib/systemd/system and I can’t find it anywhere in the BBB’s Debian Wheezy installation. So I suspect the Wheezy distro is using some other service, but I can’t figure out what.
There is a service file named dbus-org.freedesktop.timedate1.service which is Loaded but inactive (dead).

william@beaglebone:~/dev$ dpkg -l | grep ntpdate
ii ntpdate 1:4.2.6.p5+dfsg-7+deb8u1 armhf client for setting system time from NTP servers

william@beaglebone:~/dev$ sudo apt-get remove --purge ntpdate

That should solve the problem. But, you may also want to check and see if the package fake-hwclock is installed, and remove that as well.

By the way, I think Robert has a script somewhere what runs ntpdate at boot. But I do not remember where it is. I checked /opt/scripts/ on my BBB, but I’m running Jessie, and could not find such a script. But it could also be either a sysv init script, or an rc.d startup script, and potentially even a a cron job( unlikely ).