system: sort system_sysctl_get() output; closes #4907

This commit is contained in:
Franco Fichtner 2021-04-08 12:24:01 +02:00
parent 7316071974
commit cf8d1d045f

View File

@ -153,6 +153,8 @@ function system_sysctl_get()
}
}
ksort($sysctls);
return $sysctls;
}
@ -1159,7 +1161,6 @@ function system_login_configure($verbose = false)
$new_loader_conf .= "{$param}=\"{$value}\"\n";
}
/* write merged file back to target location */
@file_put_contents('/boot/loader.conf', $new_loader_conf);