Skip to main content

Disabling ntpupdate

This has been quite overdue, as I have been wanting to disable ntpupdate since the Hoary release. What is ntpupdate anyway? It's the program that synchronizes your system time to an ntp server. NTP is a protocol for synchronising the clocks of computer systems over packet-switched, variable-latency data networks. Since Ubuntu defaults to an ntp server somewhere in the www, and that it will attempt to sync on boot, it causes your machine to go through a much much longer startup process if an internet connection is not available at boot time.

As I am lugging my lappy around a lot and I have not much of a need for the program, I knew I had to take it out and save me minutes of boot time. Ealden taught me how to remove ntpupdate, and I suppose we can change the arguments to remove other programs as well.

$ sudo update-rc.d -f ntpdate remove

update-rc.d will remove any system startup links for /etc/init.d/ntpdate, or any instances of such in the different run levels. Usage is as follows:

usage: update-rc.d [-n] [-f] <basename> remove
update-rc.d [-n] <basename> defaults [NN | sNN kNN]
update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
-n: not really
-f: force

Comments

Popular posts from this blog

Family Visits Singapura

My parents and in-laws traveled to Singapore last September and it was truly memorable! I'm trying out some code to display a Google Photos album and it's quite cool that I'm able to embed the album here. Credits to Pavex for the great tool. He details out how to use it here . Check out the album below!
March was a good month. Not just because it's my birthday month, but I've been able to do more physical exercises as far as I'm allowed, and I've also been able to get through my first month back in the job. For the first couple of weeks, I thought I was going to do 4 hours a day at most, and turn up the heat bit by bit until I'm able to do 100% again. But I suppose having to rest over a month does have its toll. It took significant effort to try not go all in with guns blazing on the first day back at work. LOL Anyway, I'm trying something new this year. We've migrated our applications to a better platform, and we'd like to push that to the cloud this year. It'll obviously need a lot of liaising and cooperative work with other teams and domains so I'm going to do more engagement and solutioning than the usual engineering this time. Last week, we did a platform-related hackathon and a critical refresh across clusters. There's going to be a lo

I can see myself dealing with all the ladies who will be tweeting, texting, and calling Miguel some years from now..

via Gravity