Commit 62870e38 authored by Franco Fichtner's avatar Franco Fichtner

system: do not unload cryptodev, it causes a panic when in use

parent 61192fce
...@@ -373,9 +373,8 @@ function load_crypto_module() ...@@ -373,9 +373,8 @@ function load_crypto_module()
} }
if (isset($config['system']['cryptodev_enable'])) { if (isset($config['system']['cryptodev_enable'])) {
log_error(gettext('Loading cryptodev kernel module.'));
mwexecf('/sbin/kldload %s', 'cryptodev', true); mwexecf('/sbin/kldload %s', 'cryptodev', true);
} else {
mwexecf('/sbin/kldunload %s', 'cryptodev', true);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment