summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-05-03 11:23:32 +0200
committerLars Wendler <polynomial-c@gentoo.org>2016-05-03 11:47:17 +0200
commit2203781eaf654ffcbe0721d58703b51708eb3c87 (patch)
treeade7fccbba7ea0fe17f9cdac631d2c04f18ec1e0 /net-ftp/pure-ftpd
parentnet-fs/samba: Fixed openrc init script shebang. (diff)
downloadgentoo-2203781eaf654ffcbe0721d58703b51708eb3c87.tar.gz
gentoo-2203781eaf654ffcbe0721d58703b51708eb3c87.tar.bz2
gentoo-2203781eaf654ffcbe0721d58703b51708eb3c87.zip
net-ftp/pure-ftpd: Fixed openrc init script shebang.
Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-ftp/pure-ftpd')
-rw-r--r--net-ftp/pure-ftpd/files/pure-ftpd.rc118
1 files changed, 3 insertions, 5 deletions
diff --git a/net-ftp/pure-ftpd/files/pure-ftpd.rc11 b/net-ftp/pure-ftpd/files/pure-ftpd.rc11
index fe200cfb0f1a..1e8722f88d75 100644
--- a/net-ftp/pure-ftpd/files/pure-ftpd.rc11
+++ b/net-ftp/pure-ftpd/files/pure-ftpd.rc11
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2014 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -13,7 +13,7 @@ depend() {
need net
}
-checkconfig() {
+start_pre() {
if [ -z "$IS_CONFIGURED" ] ; then
eerror "You need to setup /etc/conf.d/pure-ftpd first!"
return 1
@@ -21,8 +21,6 @@ checkconfig() {
}
start() {
- checkconfig || return 1
-
UPSCRIPT=""
if [ -n "$UPLOADSCRIPT" ] ; then
UPSCRIPT="--uploadscript"