diff options
author | jim-p <jimp@pfsense.org> | 2013-01-03 09:28:12 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-01-03 09:29:50 -0500 |
commit | 8a0f6ca13d5c28d34f2f0b50f7901535c6ba9ac4 (patch) | |
tree | 81f0882bf1c4de3ad80aff7763d7443765be7d50 | |
parent | 748c7b85d6fc6ded8bc1fe64358d5986c341f8cb (diff) | |
download | pfsense-8a0f6ca13d5c28d34f2f0b50f7901535c6ba9ac4.zip pfsense-8a0f6ca13d5c28d34f2f0b50f7901535c6ba9ac4.tar.gz |
Be a little smarter about the default kernel in rare cases where we cannot determine what was in use.
-rwxr-xr-x | tmp/post_upgrade_command | 6 |
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 |