aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/site.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2011-09-19 03:31:46 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2011-09-19 03:31:46 +0000
commitf874424cabc59e63f2458c25527f7c18632194a9 (patch)
treedc5398d63d6102961238625576578de5f3772665 /chapter07/site.xml
parent103bbd63fe104a52e181da0653c43212b990f5e6 (diff)
Rename /etc/sysconfig/init_params to /etc/sysconfig/rc.site.
Move network services to /lib/services. Move init-functions to /lib/lsb. Make /lib/lsb a symlink to /lib/services. Create convenience symlink /etc/init.d->/etc/rc.d/init.d Add help and man pages to ifup/ifdown. Append /run/var/bootlog to /var/log/boot.log at the end of the boot sequence. Add capability to step through the boot scripts at boot time. Optionally allow environment variables in sysconfig directory's console, network, and clock files to be placed in rc.site. Add an optional FASTBOOT parameter to set /fastboot when rebooting. Remove a minor warning message from udev that is triggered by the udev_retry boot script. Add SKIPTMPCLEAN as an optional parameter to skip cleaning /tmp at boot time. Add a page to Chapter 7 documenting rc.site. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9597 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07/site.xml')
-rw-r--r--chapter07/site.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/chapter07/site.xml b/chapter07/site.xml
new file mode 100644
index 000000000..8c36fe0b8
--- /dev/null
+++ b/chapter07/site.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+ "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+ <!ENTITY % general-entities SYSTEM "../general.ent">
+ <!ENTITY site SYSTEM "../appendices/rc.site.script">
+ %general-entities;
+]>
+
+<sect1 id="ch-scripts-site">
+ <?dbhtml filename="site.html"?>
+
+ <title>The rc.site File</title>
+
+ <indexterm zone="ch-scripts-site">
+ <primary sortas="a-rc.site">rc.site</primary>
+ </indexterm>
+
+ <para>The optional <filename>/etc/sysconfig/rc.site</filename> file contains
+ settings that are automatically set for each boot script. It can alternatively
+ set the values specified in the <filename>hostname</filename>,
+ <filename>console</filename>, and <filename>clock</filename> files in the
+ <filename class='directory'>/etc/sysconfig/</filename> directory. If the
+ associated variables are present in both these separate files and
+ <filename>rc.site</filename>, the values in the script specific files have
+ precedence. </para>
+
+ <para><filename>rc.site</filename> also contains parameters that can
+ customize other aspects of the boot process. Setting the IPROMPT variable
+ will enable selective running of bootscripts. Other options are described
+ in the file comments. The default version of the file is as follows:</para>
+
+ <screen>&site;</screen>
+
+</sect1>
+