On 2022-11-07, indivC <ind...@proton.me> wrote: > Would the correct place to do this be in /etc/rc > and rdate(8) should be called right before it says > "echo -n 'starting early daemons:'"? > Or is there a better way of doing this?
That's probably the most correct place, but I don't like modifying /etc/rc if avoidable, so I normally do that in rc.local. Another option is to run it from hostname.if, it's easy if you have static addresses, it got more complicated for DHCP with the change to fetching those addresses in the background but I think with the current iteration you can probably add "!dhcpleasectl \$if" and run rdate after that.