tunables: empty values are defaults in our new mvc model, prevents "sysctl: empty numeric value" messages during boot.

This commit is contained in:
Ad Schellevis 2025-03-05 11:01:31 +01:00
parent e1a0278b17
commit 3185ba9cf0

View File

@ -152,7 +152,7 @@ function system_sysctl_get()
}
foreach ($sysctls as $key => &$value) {
if ($value != 'default') {
if ($value != 'default' && $value != '') {
continue;
}