neysx       05/05/19 23:10:20

  Modified:    xml/htdocs/doc/en/handbook hb-working-rcscripts.xml
  Log:
  #93246 Improve creation of new runlevel

Revision  Changes    Path
1.22      +17 -13    xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml

file : 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml?rev=1.22&content-type=text/x-cvsweb-markup&cvsroot=gentoo
plain: 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml?rev=1.22&content-type=text/plain&cvsroot=gentoo
diff : 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml.diff?r1=1.21&r2=1.22&cvsroot=gentoo

Index: hb-working-rcscripts.xml
===================================================================
RCS file: 
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- hb-working-rcscripts.xml    6 May 2005 22:32:54 -0000       1.21
+++ hb-working-rcscripts.xml    19 May 2005 23:10:20 -0000      1.22
@@ -4,12 +4,12 @@
 <!-- The content of this document is licensed under the CC-BY-SA license -->
 <!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
 
-<!-- $Header: 
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml,v 1.21 
2005/05/06 22:32:54 swift Exp $ -->
+<!-- $Header: 
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml,v 1.22 
2005/05/19 23:10:20 neysx Exp $ -->
 
 <sections>
 
-<version>1.18</version>
-<date>2005-05-06</date>
+<version>1.19</version>
+<date>2005-05-20</date>
 
 <section>
 <title>Runlevels</title>
@@ -650,7 +650,7 @@
 </body>
 </subsection>
 <subsection>
-<title>Using SOFTLEVEL</title>
+<title>Using softlevel</title>
 <body>
 
 <p>
@@ -669,13 +669,17 @@
 </p>
 
 <pre caption="Adding the necessary init scripts">
-# <i>ls /etc/runlevels/default</i>
-acpid  domainname  local  net.eth0  netmount  postfix  syslog-ng  vixie-cron
-# <i>rc-update add acpid offline</i>
-# <i>rc-update add domainname offline</i>
-# <i>rc-update add local offline</i>
-# <i>rc-update add syslog-ng offline</i>
-# <i>rc-update add vixie-cron offline</i>
+<comment>(Copy all services from default runlevel to offline 
runlevel)</comment>
+# <i>for service in /etc/runlevels/default/*; do rc-update add $service 
offline; done</i>
+<comment>(Remove unwanted service from offline runlevel)</comment>
+# <i>rc-update del net.eth0 offline</i>
+<comment>(Display active services for offline runlevel)</comment>
+# <i>rc-update show offline</i>
+<comment>(Partial sample Output)</comment>
+               acpid | offline
+          domainname | offline
+               local | offline
+            net.eth0 |
 </pre>
 
 <p>
@@ -690,7 +694,7 @@
 </pre>
 
 <p>
-Voila, you're all set now. If you boot your system and select the newly added
+VoilĂ , you're all set now. If you boot your system and select the newly added
 entry at boot, the <c>offline</c> runlevel will be used instead of the
 <c>default</c> one.
 </p>
@@ -698,7 +702,7 @@
 </body>
 </subsection>
 <subsection>
-<title>Using BOOTLEVEL</title>
+<title>Using bootlevel</title>
 <body>
 
 <p>



-- 
[email protected] mailing list

Reply via email to