Commit 7a11903a authored by Franco Fichtner's avatar Franco Fichtner

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

(cherry picked from commit 62870e38)
parent 148f0d07
......@@ -373,9 +373,8 @@ function load_crypto_module()
}
if (isset($config['system']['cryptodev_enable'])) {
log_error(gettext('Loading cryptodev kernel module.'));
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