aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2017-12-14 13:52:55 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2017-12-14 14:18:39 -0600
commitd5f3fe52c87928095bd2659823b985d231f0718c (patch)
treed4551b38c4c0d1669bb245bd484ccd23780143f0
parentbb1bc6eeb73b3483a1ebdfc142a11240b58588cf (diff)
sysctl: hard code paths for sysctl files on *bsd
For *BSD,the sysctl*.conf files are always in /etc.
-rw-r--r--init.d/sysctl.in2
1 files changed, 1 insertions, 1 deletions
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