mirror of
https://github.com/lucaspalomodevelop/opnsense-core.git
synced 2026-03-13 00:07:27 +00:00
tunables: empty values are defaults in our new mvc model, prevents "sysctl: empty numeric value" messages during boot.
This commit is contained in:
parent
e1a0278b17
commit
3185ba9cf0
@ -152,7 +152,7 @@ function system_sysctl_get()
|
||||
}
|
||||
|
||||
foreach ($sysctls as $key => &$value) {
|
||||
if ($value != 'default') {
|
||||
if ($value != 'default' && $value != '') {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user