commit:     35d9a0af9ed1c4e9abe21fc9a2e47576ff6458a3
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 21 13:14:45 2016 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Mar  3 12:46:26 2016 +0000
URL:        https://gitweb.gentoo.org/proj/apache.git/commit/?id=35d9a0af

apache2.initd: remove ancient baselayout-1.x check in checkconfd().

OpenRC went stable on 2011-06-28, and support for baselayout-1.x died
off after that. It's been ~4.5 years, so I think this check can go.

 2.4/init/apache2.initd | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/2.4/init/apache2.initd b/2.4/init/apache2.initd
index 23d1746..88d9dd0 100755
--- a/2.4/init/apache2.initd
+++ b/2.4/init/apache2.initd
@@ -28,12 +28,6 @@ configtest() {
 }
 
 checkconfd() {
-       if [ ! -f /etc/init.d/sysfs ]; then
-               eerror "This init script works only with openrc (baselayout-2)."
-               eerror "If you still need baselayout-1.x, please, use"
-               eerror "apache2.initd-baselayout-1 from 
/usr/share/doc/apache2-*/"
-       fi
-
        PIDFILE="${PIDFILE:-/var/run/apache2.pid}"
        TIMEOUT=${TIMEOUT:-15}
 

Reply via email to