mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
ipfw/dummynet, don't depend on ipfw to load it's modules, it may cause side effects like https://github.com/opnsense/core/issues/2569
This commit is contained in:
parent
e9dfa48953
commit
75444ea6e8
@ -1068,6 +1068,11 @@ function system_kernel_configure($verbose = false)
|
||||
$mods[] = $config['system']['thermal_hardware'];
|
||||
}
|
||||
|
||||
if (!empty($config['OPNsense']['TrafficShaper']['rules']['rule'])) {
|
||||
$mods[] = "ipfw";
|
||||
$mods[] = "dummynet";
|
||||
}
|
||||
|
||||
foreach ($mods as $mod) {
|
||||
mwexecf('/sbin/kldload %s', $mod, true);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user