Skip to content

Commit

Permalink
Be a little smarter about the default kernel in rare cases where we c…
Browse files Browse the repository at this point in the history
…annot determine what was in use.
  • Loading branch information
jim-p committed Jan 3, 2013
1 parent 748c7b8 commit 8a0f6ca
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tmp/post_upgrade_command
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8a0f6ca

Please sign in to comment.