Ticket #3202: remove-utmpdump.patch

File remove-utmpdump.patch, 1.9 KB (added by chris@…, 12 years ago)

Remove utmpdump installation from Sysvinit

  • chapter06/sysvinit.xml

     
    5454
    5555<screen><userinput remap="pre">sed -i 's@Sending processes@&amp; configured via /etc/inittab@g' src/init.c</userinput></screen>
    5656
    57     <para>Maintained versions of the <command>wall</command> and
    58     <command>mountpoint</command> programs were
     57    <para>Maintained versions of the <command>wall</command>,
     58    <command>mountpoint</command> and <command>utmpdump</command> programs were
    5959    installed earlier by Util-linux. Suppress the installation of Sysvinit's
    6060    versions of these programs and their man pages:</para>
    6161
    62 <screen><userinput remap="make">sed -i -e 's/utmpdump wall/utmpdump/' \
    63        -e '/= mountpoint/d' \
    64        -e 's/mountpoint.1 wall.1//' src/Makefile</userinput></screen>
     62<screen><userinput remap="make">sed -i -e '/utmpdump/d' \
     63       -e '/mountpoint/d' src/Makefile</userinput></screen>
    6564
    6665    <para>Compile the package:</para>
    6766
     
    8584        <seg>bootlogd, fstab-decode, halt, init, killall5, last,
    8685        lastb (link to last), mesg, pidof (link to killall5),
    8786        poweroff (link to halt), reboot (link to halt), runlevel, shutdown,
    88         sulogin, telinit (link to init), and utmpdump</seg>
     87        sulogin, and telinit (link to init)</seg>
    8988      </seglistitem>
    9089    </segmentedlist>
    9190
     
    262261        </listitem>
    263262      </varlistentry>
    264263
    265       <varlistentry id="utmpdump">
    266         <term><command>utmpdump</command></term>
    267         <listitem>
    268           <para>Displays the content of the given login file in a more
    269           user-friendly format</para>
    270           <indexterm zone="ch-system-sysvinit utmpdump">
    271             <primary sortas="b-utmpdump">utmpdump</primary>
    272           </indexterm>
    273         </listitem>
    274       </varlistentry>
    275 
    276264    </variablelist>
    277265
    278266  </sect2>