aboutsummaryrefslogtreecommitdiff
path: root/init.d/sysctl.BSD.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/sysctl.BSD.in')
-rw-r--r--init.d/sysctl.BSD.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/sysctl.BSD.in b/init.d/sysctl.BSD.in
index 2bfd0524..fe69ab2e 100644
--- a/init.d/sysctl.BSD.in
+++ b/init.d/sysctl.BSD.in
@@ -13,7 +13,7 @@ start()
local retval=0 var= comments= conf=
ebegin "Configuring kernel parameters"
eindent
- for conf in /etc/sysctl.conf /etc/sysctl.d/*.conf; do
+ for conf in @SYSCONFDIR@/sysctl.conf @SYSCONFDIR@/sysctl.d/*.conf; do
if [ -r "$conf" ]; then
vebegin "applying $conf"
while read var comments; do