From 35d9a0af9ed1c4e9abe21fc9a2e47576ff6458a3 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 21 Jan 2016 08:14:45 -0500 Subject: 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} -- cgit v1.2.3-65-gdbad