From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 19B11139083 for ; Thu, 14 Dec 2017 20:19:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5C8A2E10F9; Thu, 14 Dec 2017 20:19:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 37288E10F9 for ; Thu, 14 Dec 2017 20:19:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4783A33BEC7 for ; Thu, 14 Dec 2017 20:19:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E0FA6AE1D for ; Thu, 14 Dec 2017 20:19:50 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1513282719.d5f3fe52c87928095bd2659823b985d231f0718c.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: init.d/ X-VCS-Repository: proj/openrc X-VCS-Files: init.d/sysctl.in X-VCS-Directories: init.d/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: d5f3fe52c87928095bd2659823b985d231f0718c X-VCS-Branch: master Date: Thu, 14 Dec 2017 20:19:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2c8f1599-d353-4bb3-a97e-a8411a1095ae X-Archives-Hash: 0271367191094d776125327616cbe7bc commit: d5f3fe52c87928095bd2659823b985d231f0718c Author: William Hubbs gmail com> AuthorDate: Thu Dec 14 19:52:55 2017 +0000 Commit: William Hubbs gentoo 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