Browse Source

- procps-ng: add sysctl patch

master
vanhofen 4 years ago
parent
commit
44a1e122c0
  1. 0
      package/procps-ng/patches/0001-no-tests-docs.patch
  2. 13
      package/procps-ng/patches/0002-change-sysctl-d-locations.patch

0
package/procps-ng/patches/procps-ng-no-tests-docs.patch → package/procps-ng/patches/0001-no-tests-docs.patch

13
package/procps-ng/patches/0002-change-sysctl-d-locations.patch

@ -0,0 +1,13 @@
diff --git a/sysctl.c b/sysctl.c
index 5036a0b..86e6ffe 100644
--- a/sysctl.c
+++ b/sysctl.c
@@ -624,7 +624,7 @@ static int PreloadSystem(void)
const char *dirs[] = {
"/run/sysctl.d",
"/etc/sysctl.d",
- "/usr/local/lib/sysctl.d",
+ "/var/etc/sysctl.d",
"/usr/lib/sysctl.d",
"/lib/sysctl.d",
};
Loading…
Cancel
Save