From: Lars Wendler Date: Tue, 3 May 2016 09:23:32 +0000 (+0200) Subject: net-ftp/pure-ftpd: Fixed openrc init script shebang. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=2203781eaf654ffcbe0721d58703b51708eb3c87;p=gentoo.git net-ftp/pure-ftpd: Fixed openrc init script shebang. Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler --- 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"