diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-02-15 15:26:52 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-02-15 15:26:52 +0000 |
commit | b08f4096533577934b885fa9df41d3881d141612 (patch) | |
tree | 8e5ffc0ba65ac34d97cd6a896d33b85a897a6da8 /chapter06/config-sysvinit.xml | |
parent | ad08014624938a3a3bfd1b44e8b27d02c7b06dd8 (diff) |
Initial XML commit
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@174 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/config-sysvinit.xml')
-rw-r--r-- | chapter06/config-sysvinit.xml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/chapter06/config-sysvinit.xml b/chapter06/config-sysvinit.xml new file mode 100644 index 000000000..ada018f9d --- /dev/null +++ b/chapter06/config-sysvinit.xml @@ -0,0 +1,43 @@ +<sect2><title>Configuring Sysvinit</title> + +<para> +Create a new file <filename>/etc/inittab</filename> by running the +following: +</para> + +<literallayout> + +<userinput>cat > /etc/inittab << "EOF"</userinput> +# Begin /etc/inittab + +id:3:initdefault: + +si::sysinit:/etc/init.d/rcS + +l0:0:wait:/etc/init.d/rc 0 +l1:S1:wait:/etc/init.d/rc 1 +l2:2:wait:/etc/init.d/rc 2 +l3:3:wait:/etc/init.d/rc 3 +l4:4:wait:/etc/init.d/rc 4 +l5:5:wait:/etc/init.d/rc 5 +l6:6:wait:/etc/init.d/rc 6 + +ft:06:respawn:/sbin/sulogin + +ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now + +su:S1:respawn:/sbin/sulogin +1:2345:respawn:/sbin/agetty tty1 9600 +2:2345:respawn:/sbin/agetty tty2 9600 +3:2345:respawn:/sbin/agetty tty3 9600 +4:2345:respawn:/sbin/agetty tty4 9600 +5:2345:respawn:/sbin/agetty tty5 9600 +6:2345:respawn:/sbin/agetty tty6 9600 + +# End /etc/inittab +<userinput>EOF</userinput> + +</literallayout> + +</sect2> + |