From 09327f429fa8865c5a029dd4e9b029f5db1534e7 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Sat, 24 Mar 2012 14:37:08 -0500 Subject: Allow files in sysctl.d to override sysctl.conf reported-by: Peter Gantner (a.k.a. nephros) X-Gentoo-Bug: 406631 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=406631 --- init.d/sysctl.BSD.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.d/sysctl.BSD.in') diff --git a/init.d/sysctl.BSD.in b/init.d/sysctl.BSD.in index 4a86f878..2bfd0524 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.d/*.conf /etc/sysctl.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