From d5f3fe52c87928095bd2659823b985d231f0718c Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Thu, 14 Dec 2017 13:52:55 -0600 Subject: 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 -- cgit v1.2.3