/[gentoo]/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.20 Revision 1.21
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/1.0 --> 5<!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml,v 1.20 2004/11/20 22:23:30 neysx Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml,v 1.21 2005/05/06 22:32:54 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>1.17</version> 11<version>1.18</version>
12<date>2004-10-23</date> 12<date>2005-05-06</date>
13 13
14<section> 14<section>
15<title>Runlevels</title> 15<title>Runlevels</title>
16<subsection> 16<subsection>
17<title>Booting your System</title> 17<title>Booting your System</title>
571Other functions you can define are: <c>stop()</c> and <c>restart()</c>. You are 571Other functions you can define are: <c>stop()</c> and <c>restart()</c>. You are
572not obliged to define these functions! Our init system is intelligent enough to 572not obliged to define these functions! Our init system is intelligent enough to
573fill these functions by itself if you use <c>start-stop-daemon</c>. 573fill these functions by itself if you use <c>start-stop-daemon</c>.
574</p> 574</p>
575 575
576<p>
577Gentoo's init script syntax is based on the Bourne Again Shell (bash) so you are
578free to use bash-compatible constructs inside your init script.
579</p>
580
576</body> 581</body>
577</subsection> 582</subsection>
578<subsection> 583<subsection>
579<title>Adding Custom Options</title> 584<title>Adding Custom Options</title>
580<body> 585<body>

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

  ViewVC Help
Powered by ViewVC 1.1.20