The key to knowing if a FreeBSD box reboot is needed lies in comparing the insta...
nixCraft 🐧 @nixCraft@mastodon.social
The key to knowing if a FreeBSD box reboot is needed lies in comparing the installed kernel version with the currently running kernel version. How do you do that?
1 Get the version of the running kernel:
`freebsd-version -r`
2 Get installed FreeBSD kernel version:
`freebsd-version -k`
3 Since 14.4-RELEASE-p7 & 14.4-RELEASE-p8 are different versions, reboot it
`sudo reboot`
More here if you want to do this in automated way with ansible https://www.cyberciti.biz/faq/freebsd-determine-if-a-system-reboot-is-necessary/