From 8a0f6ca13d5c28d34f2f0b50f7901535c6ba9ac4 Mon Sep 17 00:00:00 2001 From: jim-p Date: Thu, 3 Jan 2013 09:28:12 -0500 Subject: Be a little smarter about the default kernel in rare cases where we cannot determine what was in use. --- tmp/post_upgrade_command | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tmp') diff --git a/tmp/post_upgrade_command b/tmp/post_upgrade_command index 634afb0..9e3dc2d 100755 --- a/tmp/post_upgrade_command +++ b/tmp/post_upgrade_command @@ -30,7 +30,11 @@ case "$OLDKERNEL" in KERNELTYPE=SMP ;; *) - KERNELTYPE=SMP + if [ "${PFSENSETYPE}" = "pfSense" ]; then + KERNELTYPE=SMP + elif [ "${PFSENSETYPE}" = "nanobsd" ]; then + KERNELTYPE=WRAP + fi ;; esac -- cgit v1.1