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:35 -0500 |
commit | 82bce0a16f63c811e6d66bccbe70090844f2a3d1 (patch) | |
tree | d3c95bc092ceaf1ee49619379f2cd724b480beb2 | |
parent | eef77bfe0df4af723edbd2d283a50e2151269ad2 (diff) | |
download | pfsense-82bce0a16f63c811e6d66bccbe70090844f2a3d1.zip pfsense-82bce0a16f63c811e6d66bccbe70090844f2a3d1.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 |