firmware: if the kernel hasn't been applied do it now

"opnsense-update -u" changes to not apply the kernel and the upgrade
script will handle it.  But in case this is going to be scripted by
the user we should just make sure this still needs to be taken care of
adding an extra reboot but that's ok.
This commit is contained in:
Franco Fichtner 2023-06-06 09:12:36 +02:00
parent afcb402aae
commit ea8338767d

View File

@ -2,7 +2,7 @@
# Perform major updates
for STAGE in B P; do
for STAGE in K B P; do
if opnsense-update -${STAGE}; then
echo "Rebooting now."
reboot