update
update copied to clipboard
update: handle nextboot to avoid booting a bad kernel and abort pending upgrade
We can figure out which kernel is being run by using kern.bootfile sysctl entry.