summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2016-01-21 08:14:45 -0500
committerLars Wendler <polynomial-c@gentoo.org>2016-03-03 13:46:26 +0100
commit35d9a0af9ed1c4e9abe21fc9a2e47576ff6458a3 (patch)
tree808a983457dbd04538808f6fda3cdad794f4d9f8
parentapache2.initd: capture config test output in checkconfig(). (diff)
downloadapache-35d9a0af9ed1c4e9abe21fc9a2e47576ff6458a3.tar.gz
apache-35d9a0af9ed1c4e9abe21fc9a2e47576ff6458a3.tar.bz2
apache-35d9a0af9ed1c4e9abe21fc9a2e47576ff6458a3.zip
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.
-rwxr-xr-x2.4/init/apache2.initd6
1 files changed, 0 insertions, 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}