diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2013-12-08 01:19:31 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2013-12-08 01:19:31 +0000 |
commit | 3c7ea1f646524a45905371d0fbadc99f9f9d64a3 (patch) | |
tree | fc2873a911d0f67bfc0ea3d3a77fc30cca691522 /chapter06/sysvinit.xml | |
parent | a3bd4d9feb6d68cd63b0b7a38182f194552896e5 (diff) |
Supress installing sysvinit's mesg and last that overwrite the versions
installed by util-linux.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10385 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/sysvinit.xml')
-rw-r--r-- | chapter06/sysvinit.xml | 35 |
1 files changed, 7 insertions, 28 deletions
diff --git a/chapter06/sysvinit.xml b/chapter06/sysvinit.xml index e93e1cc85..98851f709 100644 --- a/chapter06/sysvinit.xml +++ b/chapter06/sysvinit.xml @@ -55,12 +55,14 @@ <screen><userinput remap="pre">sed -i 's@Sending processes@& configured via /etc/inittab@g' src/init.c</userinput></screen> <para>Maintained versions of the <command>wall</command>, - <command>mountpoint</command>, and <command>utmpdump</command> programs were + <command>mountpoint</command>, <command>last</command>, + <command>mesg</command>, and <command>utmpdump</command> programs were installed earlier by Util-linux. Suppress the installation of Sysvinit's versions of these programs and their man pages:</para> -<screen><userinput remap="make">sed -i -e '/utmpdump/d' \ - -e '/mountpoint/d' src/Makefile</userinput></screen> +<screen><userinput remap="make">sed -i -e '/utmpdump/d' \ + -e '/mountpoint/d' \ + -e '/mesg/d' src/Makefile</userinput></screen> <para>Compile the package:</para> @@ -81,8 +83,8 @@ <segtitle>Installed programs</segtitle> <seglistitem> - <seg>bootlogd, fstab-decode, halt, init, killall5, last, - lastb (link to last), mesg, pidof (link to killall5), + <seg>bootlogd, fstab-decode, halt, init, killall5, + lastb (link to last), pidof (link to killall5), poweroff (link to halt), reboot (link to halt), runlevel, shutdown, sulogin, and telinit (link to init)</seg> </seglistitem> @@ -151,18 +153,6 @@ </listitem> </varlistentry> - <varlistentry id="last"> - <term><command>last</command></term> - <listitem> - <para>Shows which users last logged in (and out), searching back - through the <filename>/var/log/wtmp</filename> file; it also shows - system boots, shutdowns, and run-level changes</para> - <indexterm zone="ch-system-sysvinit last"> - <primary sortas="b-last">last</primary> - </indexterm> - </listitem> - </varlistentry> - <varlistentry id="lastb"> <term><command>lastb</command></term> <listitem> @@ -174,17 +164,6 @@ </listitem> </varlistentry> - <varlistentry id="mesg"> - <term><command>mesg</command></term> - <listitem> - <para>Controls whether other users can send messages to the current - user's terminal</para> - <indexterm zone="ch-system-sysvinit mesg"> - <primary sortas="b-mesg">mesg</primary> - </indexterm> - </listitem> - </varlistentry> - <varlistentry id="pidof"> <term><command>pidof</command></term> <listitem> |