Skip to content

Commit

Permalink
auto-upgrade-base: Restart sshd following 2nd install
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason W. Bacon committed May 21, 2022
1 parent 1e23cdb commit 2c02f6b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sys-scripts/auto-upgrade-base
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ After rebooting, it is best to complete the process from a text console
If a graphical login screen appears after rebooting, type Ctrl+Alt+F1 to
go to virtual terminal 0, then log in as root and run
freebsd-update install
# Restart sshd immediately in case API changes broken running daemon
# Otherwise we may lose access when upgrading remotely
freebsd-update install && service sshd restart || true
auto-update-system --defaults
Another reboot is then a good idea to reload kernel modules and services
Expand Down

0 comments on commit 2c02f6b

Please sign in to comment.