Revision 2c98383f
Added by Jim Pingle over 8 years ago
src/etc/inc/upgrade_config.inc | ||
---|---|---|
5147 | 5147 |
} |
5148 | 5148 |
} |
5149 | 5149 |
|
5150 |
/* Previous versions of pfSense had cryptodev built into the kernel. |
|
5151 |
* To retain the expected behavior on upgrade, load the cryptodev |
|
5152 |
* module for users that did not choose a module. |
|
5153 |
*/ |
|
5154 |
function upgrade_161_to_162() { |
|
5155 |
global $config; |
|
5156 |
if (empty($config['system']['crypto_hardware'])) { |
|
5157 |
$config['system']['crypto_hardware'] = "cryptodev"; |
|
5158 |
} |
|
5159 |
} |
|
5150 | 5160 |
?> |
Also available in: Unified diff
Add GUI components for loading cryptodev as a module, and upgrade code so users have it on upgrade since it was in-kernel before. Fixes #5976
Having both aesni and cryptodev loaded at the same time appears to only negatively impact performance, no gains, so at the moment there is no need to load them at the same time.