Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-doc-cvs
Navigation:
Lists: gentoo-doc-cvs: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-doc-cvs@g.o
From: "Sven Vermeulen (swift)" <swift@g.o>
Subject: gentoo commit in xml/htdocs/doc/en/handbook: hb-working-rcscripts.xml
Date: Sat, 17 Sep 2011 12:45:11 +0000 (UTC)
swift       11/09/17 12:45:11

  Modified:             hb-working-rcscripts.xml
  Log:
  Bug #382373 - Use extra_commands instead of opts. Reported by Thomas Kahle

Revision  Changes    Path
1.36                 xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml?rev=1.36&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml?rev=1.36&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml?r1=1.35&r2=1.36

Index: hb-working-rcscripts.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- hb-working-rcscripts.xml	17 Aug 2011 07:57:23 -0000	1.35
+++ hb-working-rcscripts.xml	17 Sep 2011 12:45:11 -0000	1.36
@@ -4,7 +4,7 @@
 <!-- The content of this document is licensed under the CC-BY-SA license -->
 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
 
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml,v 1.35 2011/08/17 07:57:23 swift Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml,v 1.36 2011/09/17 12:45:11 swift Exp $ -->
 
 <sections>
 
@@ -14,8 +14,8 @@
 these aspects and explains how to deal with these scripts.
 </abstract>
 
-<version>4</version>
-<date>2011-08-17</date>
+<version>5</version>
+<date>2011-09-17</date>
 
 <section>
 <title>Runlevels</title>
@@ -719,13 +719,13 @@
 
 <p>
 If you want your init script to support more options than the ones we have
-already encountered, you should add the option to the <c>opts</c> variable, and
-create a function with the same name as the option. For instance, to support an
-option called <c>restartdelay</c>:
+already encountered, you should add the option to the <c>extra_commands</c>
+variable, and create a function with the same name as the option. For instance,
+to support an option called <c>restartdelay</c>:
 </p>
 
 <pre caption="Supporting the restartdelay option">
-opts="${opts} restartdelay"
+extra_commands="restartdelay"
 
 restartdelay() {
   stop





Navigation:
Lists: gentoo-doc-cvs: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo commit in xml/htdocs/doc/en/handbook: hb-working-rcscripts.xml
Next by thread:
gentoo commit in xml/htdocs/doc/en: mailfilter-guide.xml
Previous by date:
gentoo commit in xml/htdocs/doc/en/handbook: hb-install-filesystems.xml hb-install-hppa-disk.xml
Next by date:
gentoo commit in xml/htdocs/doc/en: xfce-config.xml


Updated Jun 30, 2012

Summary: Archive of the gentoo-doc-cvs mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.