Be a little smarter about the default kernel in rare cases where we cannot determine what was in use.

This commit is contained in:
jim-p 2013-01-03 09:28:12 -05:00
parent eef77bfe0d
commit 82bce0a16f
1 changed files with 5 additions and 1 deletions

View File

@ -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