1 |
commit: d5f3fe52c87928095bd2659823b985d231f0718c |
2 |
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Dec 14 19:52:55 2017 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 14 20:18:39 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=d5f3fe52 |
7 |
|
8 |
sysctl: hard code paths for sysctl files on *bsd |
9 |
|
10 |
For *BSD,the sysctl*.conf files are always in /etc. |
11 |
|
12 |
init.d/sysctl.in | 2 +- |
13 |
1 file changed, 1 insertion(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/init.d/sysctl.in b/init.d/sysctl.in |
16 |
index ae9f17fe..e49f4db2 100644 |
17 |
--- a/init.d/sysctl.in |
18 |
+++ b/init.d/sysctl.in |
19 |
@@ -21,7 +21,7 @@ BSD_sysctl() |
20 |
[ -e /etc/sysctl.conf ] || return 0 |
21 |
local retval=0 var= comments= conf= |
22 |
eindent |
23 |
- for conf in @SYSCONFDIR@/sysctl.conf @SYSCONFDIR@/sysctl.d/*.conf; do |
24 |
+ for conf in /etc/sysctl.conf /etc/sysctl.d/*.conf; do |
25 |
if [ -r "$conf" ]; then |
26 |
vebegin "applying $conf" |
27 |
while read var comments; do |