summaryrefslogtreecommitdiffstats
path: root/tmp
diff options
context:
space:
mode:
Diffstat (limited to 'tmp')
-rwxr-xr-xtmp/post_upgrade_command6
1 files changed, 5 insertions, 1 deletions
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
OpenPOWER on IntegriCloud