SETUP-NTP(8)
β¨ SETUP-NTP(8) β¨
okay so bestie, buckle up β this is the setup-ntp(8) page from your friendly neighborhood System Manager's Manual, and it's literally about making your clock not lie to you π
π NAME π
setup-ntp β configure NTP time synchronization
π¦ SYNOPSIS π¦
setup-ntp [-h] [busybox | openntpd | chrony | none]
πΈ DESCRIPTION πΈ
So setup-ntp installs and configures an NTP client, no cap. It's got your back for three whole flavors:
- busybox's
ntpd openntpdchrony
And if you pass the value none? It justβ¦ skips NTP setup entirely. Respect, honestly π
Here's the vibe check on how it runs:
- When you specify an NTP client as an argument, the script runs non-interactively β it just does the thing, main character energy, no questions asked β¨
- Without an argument, it interactively prompts you for a choice π«Ά
- Bonus feature: you can also enter a date string to set the system time before you pick an NTP client. Iconic.
After installation, the NTP service gets enabled in the default runlevel and started β so it's up and running whether you're watching or not π₯
π OPTIONS π
-hβ Display usage information and exit. That's it, that's the whole list, she's simple and I love her.
π§ INTERACTIVE MODE π§
Without an argument, the script shows you the current time and then hits you with this prompt:
Which NTP client to run? ('busybox', 'openntpd', 'chrony' or 'none')
The default is busybox β (so if you just hit enter, that's what you're getting, no surprises).
You may also enter a date string here to set the system clock via date -s β which is lowkey a lifesaver when the system has no battery-backed clock, because otherwise your box wakes up thinking it's 1970 π
ngl, that date-string trick is the most underrated part of this whole page. iykyk.
π EXIT STATUS π
0β Success. Slay. Everything worked π- non-zero β An error occurred. Not slay. Something went wrong π
π SEE ALSO π
ntpd(8), openntpd(8), chronyd(8), date(1), setup-alpine(8)
π AUTHORS π
Natanael Copa <ncopa@alpinelinux.org> and others π«Ά
Alpine Linux ποΈ β version date 2026-06-09. That's the whole footer, bestie, and honestly? Periodt. Go sync your clock β¨π
π¦ where this page comes from
- alpine 3.24: alpine-conf-doc 3.22.0-r0 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms