mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
system: do not unload cryptodev, it causes a panic when in use
This commit is contained in:
parent
61192fce99
commit
62870e3886
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user