From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4B5B9138200 for ; Tue, 16 Oct 2012 19:01:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DEDE6E00E9; Tue, 16 Oct 2012 19:00:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 4C96EE00E9 for ; Tue, 16 Oct 2012 19:00:54 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 846DB33D8A7 for ; Tue, 16 Oct 2012 19:00:53 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 22B6EE5436 for ; Tue, 16 Oct 2012 19:00:52 +0000 (UTC) From: "Christian Ruppert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Christian Ruppert" Message-ID: <1350068879.c5bb6829d00a4034f7294aa4af79d5d114572ac1.idl0r@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: man/ X-VCS-Repository: proj/openrc X-VCS-Files: man/runscript.8 X-VCS-Directories: man/ X-VCS-Committer: idl0r X-VCS-Committer-Name: Christian Ruppert X-VCS-Revision: c5bb6829d00a4034f7294aa4af79d5d114572ac1 X-VCS-Branch: master Date: Tue, 16 Oct 2012 19:00:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 916ef467-a1f7-4aef-a857-fcce72343375 X-Archives-Hash: 7ae3b03f1f91851e9aa3f82887fdb72c commit: c5bb6829d00a4034f7294aa4af79d5d114572ac1 Author: Christian Ruppert gentoo org> AuthorDate: Fri Oct 12 19:07:59 2012 +0000 Commit: Christian Ruppert gentoo org> CommitDate: Fri Oct 12 19:07:59 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=c5bb6829 Prepare for real "restart" support --- man/runscript.8 | 9 --------- 1 files changed, 0 insertions(+), 9 deletions(-) diff --git a/man/runscript.8 b/man/runscript.8 index 044bef7..4c8c985 100644 --- a/man/runscript.8 +++ b/man/runscript.8 @@ -454,15 +454,6 @@ depend() # This also applies to start_post, stop_pre and stop_post. start_pre() { - if [ "$RC_CMD" = restart ]; then - # This block will only execute for a restart command. Use a - # structure like this if you need special processing for a - # restart which you do not need for a normal start. - # The function can also fail from here, which will mean that a - # restart can fail. - # This logic can also be used in start_post, stop_pre and - # stop_post. - fi # Ensure that our dirs are correct checkpath --dir --owner foo:foo --mode 0664 \\ /var/run/foo /var/cache/foo