mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-25 21:25:59 +07:00
sysctl: apply /etc/sysctl.conf last
apply /etc/sysctl.conf last to actually allow the admin to override package provided defaults.
This commit is contained in:
parent
84bccb47a7
commit
cb80401132
@ -138,7 +138,6 @@ int main(int argc, char *argv[]) {
|
||||
else {
|
||||
char **files, **f;
|
||||
|
||||
apply_file("/etc/sysctl.conf", true);
|
||||
|
||||
r = conf_files_list(&files, ".conf",
|
||||
"/run/sysctl.d",
|
||||
@ -160,6 +159,8 @@ int main(int argc, char *argv[]) {
|
||||
r = k;
|
||||
}
|
||||
|
||||
apply_file("/etc/sysctl.conf", true);
|
||||
|
||||
strv_free(files);
|
||||
}
|
||||
finish:
|
||||
|
Loading…
Reference in New Issue
Block a user