4 ms·
NTP would resync it, and obviously after X hours it would no longer be end of year even if you set the date in the past. It needed to be end of year day for 2
by orf 9y ago
NTP would resync it, and obviously after X hours it would no longer be end of year even if you set the date in the past.
It needed to be end of year day for 2 or 3 days.
- nailer 9y agoyeah I get that but `while(true)` seems excessive. Why not just do it once and disable NTP?
- orf 9y agobecause time moves forwards, and if you set it to 4pm then in 1.5 hours it will be 5.30pm, and the end-of-year stuff will kick in? Three lines of bash seemed simpler. It's a hack, yes, and there are better ways. But really who gives a damn.