From ea8338767dc73c93460694d0b3d1ece65addd87c Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Tue, 6 Jun 2023 09:12:36 +0200 Subject: [PATCH] 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. --- src/etc/rc.syshook.d/early/05-upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/etc/rc.syshook.d/early/05-upgrade b/src/etc/rc.syshook.d/early/05-upgrade index 70e41904a..fdc508260 100755 --- a/src/etc/rc.syshook.d/early/05-upgrade +++ b/src/etc/rc.syshook.d/early/05-upgrade @@ -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