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