From 3c7ea1f646524a45905371d0fbadc99f9f9d64a3 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 8 Dec 2013 01:19:31 +0000 Subject: 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 --- chapter06/sysvinit.xml | 35 +++++++---------------------------- 1 file changed, 7 insertions(+), 28 deletions(-) (limited to 'chapter06/sysvinit.xml') 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 @@ sed -i 's@Sending processes@& configured via /etc/inittab@g' src/init.c Maintained versions of the wall, - mountpoint, and utmpdump programs were + mountpoint, last, + mesg, and utmpdump programs were installed earlier by Util-linux. Suppress the installation of Sysvinit's versions of these programs and their man pages: -sed -i -e '/utmpdump/d' \ - -e '/mountpoint/d' src/Makefile +sed -i -e '/utmpdump/d' \ + -e '/mountpoint/d' \ + -e '/mesg/d' src/Makefile Compile the package: @@ -81,8 +83,8 @@ Installed programs - bootlogd, fstab-decode, halt, init, killall5, last, - lastb (link to last), mesg, pidof (link to killall5), + 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) @@ -151,18 +153,6 @@ - - last - - Shows which users last logged in (and out), searching back - through the /var/log/wtmp file; it also shows - system boots, shutdowns, and run-level changes - - last - - - - lastb @@ -174,17 +164,6 @@ - - mesg - - Controls whether other users can send messages to the current - user's terminal - - mesg - - - - pidof -- cgit v1.2.3-54-g00ecf