aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/symperm.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter07/symperm.xml')
-rw-r--r--chapter07/symperm.xml22
1 files changed, 7 insertions, 15 deletions
diff --git a/chapter07/symperm.xml b/chapter07/symperm.xml
index fc8db2e00..32c4a0a1c 100644
--- a/chapter07/symperm.xml
+++ b/chapter07/symperm.xml
@@ -1,25 +1,19 @@
<sect1 id="ch07-symperm">
<title>Setting up symlinks and permissions</title>
-<para>
-These files get the proper permissions and the necessary symlinks are created
-by running the following commands. If you didn't create the loadkeys
-and setclock scripts, make sure not to type them in the commands below.
-</para>
+<para>These files get the proper permissions and the necessary symlinks
+are created by running the following commands. If you didn't create the loadkeys
+and setclock scripts, make sure not to type them in the commands below.</para>
-<para>
-A note of caution: all the symlinks (that start with an S or K) have to
+<para>A note of caution: all the symlinks (that start with an S or K) have to
be of the form Sxxxname where xxx are three digits donating the order in
which the script is executed (the lower the number the sooner it's
executed). If you feel a need to use less than three digits, make sure
you pad with extra zero's at the beginning. This means, don't use
S20mydaemon, but S020mydaemon. And don't use K2otherdaemon, but
-K002otherdaemon.
-</para>
+K002otherdaemon.</para>
-<para>
-<screen>
-<userinput>cd /etc/init.d &amp;&amp;</userinput>
+<para><screen><userinput>cd /etc/init.d &amp;&amp;</userinput>
<userinput>chmod 754 rc rcS functions checkfs halt loadkeys mountfs reboot &amp;&amp;</userinput>
<userinput>chmod 754 sendsignals setclock sysklogd template &amp;&amp;</userinput>
<userinput>chmod 754 localnet ethnet &amp;&amp;</userinput>
@@ -55,9 +49,7 @@ K002otherdaemon.
<userinput>ln -s ../init.d/ethnet S200ethnet &amp;&amp;</userinput>
<userinput>cd ../rc5.d &amp;&amp;</userinput>
<userinput>ln -s ../init.d/sysklogd S100sysklogd &amp;&amp;</userinput>
-<userinput>ln -s ../init.d/ethnet S200ethnet</userinput>
-</screen>
-</para>
+<userinput>ln -s ../init.d/ethnet S200ethnet</userinput></screen></para>
</sect1>