Changeset 1552ac8


Ignore:
Timestamp:
06/08/2016 02:22:10 AM (5 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 7.10, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, ken/refactor-virt, lazarus, nosym, perl-modules, qt5new, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
69b2349
Parents:
e4d2b8d
Message:

[Systemd merge] - gpm, sysstat, udisks, udisks2, upower to finish Chapter 12

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17457 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
general/sysutils
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/gpm.xml

    re4d2b8d r1552ac8  
    118118
    119119    <sect3 id="gpm-init">
    120       <title>Boot Script</title>
     120      <title><phrase revision="sysv">Boot Script</phrase>
     121             <phrase revision="systemd">Systemd Unit</phrase></title>
    121122
    122123      <indexterm zone="gpm gpm-init">
     
    124125      </indexterm>
    125126
    126       <para>Install the <filename>/etc/rc.d/init.d/gpm</filename> init script
    127       included in the <xref linkend="bootscripts" revision="sysv"/>
    128       <xref linkend="systemd-units" revision="systemd"/> package.</para>
     127      <para revision="sysv">Install the
     128      <filename>/etc/rc.d/init.d/gpm</filename> init script included in the
     129      <xref linkend="bootscripts"/> package.</para>
     130
     131      <para revision="systemd">
     132        To start the <command>gpm</command> daemon at boot,
     133        install the systemd unit from the <xref linkend="systemd-units"/>
     134        package by running the following command as the
     135        <systemitem class="username">root</systemitem> user:
     136      </para>
    129137
    130138<screen role="root"><userinput>make install-gpm</userinput></screen>
     
    139147      <command>gpm-root</command> configuration files.</para>
    140148
    141       <para><filename>/etc/sysconfig/mouse</filename>:
     149      <para revision="sysv"><filename>/etc/sysconfig/mouse</filename>:
    142150      This file contains the name of your mouse device and the protocol
    143151      it uses.  To create this file, run the following as the
    144152      <systemitem class="username">root</systemitem> user:</para>
    145153
    146 <screen role="root"><userinput>cat &gt; /etc/sysconfig/mouse &lt;&lt; "EOF"
     154<screen role="root" revision="sysv"><userinput>cat &gt; /etc/sysconfig/mouse &lt;&lt; "EOF"
    147155<literal># Begin /etc/sysconfig/mouse
    148156
     
    162170      </indexterm>
    163171
    164       <indexterm zone="gpm gpm-config">
     172      <indexterm zone="gpm gpm-config" revision="sysv">
    165173        <primary sortas="e-etc-sysconfig-mouse">/etc/sysconfig/mouse</primary>
    166174      </indexterm>
     
    171179      <title>Configuration Information</title>
    172180
    173       <para>Examples of values to set <envar>MDEVICE</envar>,
     181      <para revision="sysv">Examples of values to set <envar>MDEVICE</envar>,
    174182      <envar>PROTOCOL</envar>, and <envar>GPMOPTS</envar> to are:</para>
    175183
    176 <screen><literal>MDEVICE="/dev/input/mice"
     184<screen revision="sysv"><literal>MDEVICE="/dev/input/mice"
    177185PROTOCOL="imps2"
    178186GPMOPTS=""</literal></screen>
    179187
    180       <para>A list of which protocol values are known can be found by running
     188      <para revision="sysv">A list of which protocol values are known can be
     189      found by running
    181190      <command>gpm -m <replaceable>[device]</replaceable> -t -help</command>.
    182191      The <envar>MDEVICE</envar> setting depends on which type of mouse you
     
    187196      are needed for your hardware.</para>
    188197
     198      <para revision="systemd">
     199        <application>GPM</application> is by default started with
     200        the following parameters:
     201        <parameter>-m /dev/input/mice -t imps2</parameter>. If the
     202        mentioned parameters don't suit your needs, you can override
     203        them by running the following the following commands as
     204        the <systemitem class="username">root</systemitem> user:
     205      </para>
     206
     207<screen role="root" revision="systemd"><userinput>install -v -dm755 /etc/systemd/system/gpm.service.d
     208echo "ExecStart=/usr/sbin/gpm &lt;list of parameters&gt;" > /etc/systemd/system/gpm.service.d/99-user.conf</userinput></screen>
     209
    189210    </sect3>
    190211
  • general/sysutils/sysstat.xml

    re4d2b8d r1552ac8  
    9090<screen role="root"><userinput>make install</userinput></screen>
    9191
     92    <para revision="systemd">
     93      Install the systemd unit by running the following command as the
     94      <systemitem class="username">root</systemitem> user:
     95    </para>
     96
     97<screen role="root" revision="systemd"><userinput>install -v -m644 sysstat.service /lib/systemd/system/sysstat.service</userinput></screen>
     98
    9299  </sect2>
    93100
     
    174181      </indexterm>
    175182
    176       <para>At system startup, a LINUX RESTART message must be inserted in the
    177       daily data file to reinitialize the kernel counters. This can be
    178       automated by installing the <filename>/etc/rc.d/init.d/sysstat</filename>
    179       init script included in the <xref linkend="bootscripts" revision="sysv"/>
    180       <xref linkend="systemd-units" revision="systemd"/>
    181       package using the following command as the
     183      <para revision="sysv">At system startup, a LINUX RESTART message must be
     184      inserted in the daily data file to reinitialize the kernel counters. This
     185      can be automated by installing the
     186      <filename>/etc/rc.d/init.d/sysstat</filename> init script included in the
     187      <xref linkend="bootscripts"/> package using the following command as the
    182188      <systemitem class="username">root</systemitem> user:</para>
    183189
    184 <screen role="root"><userinput>make install-sysstat</userinput></screen>
     190<screen role="root" revision="sysv"><userinput>make install-sysstat</userinput></screen>
     191
     192      <para revision="systemd">At system startup, a LINUX RESTART message must
     193      be inserted in the daily data file to reinitialize the kernel counters.
     194      This can be automated by enabling the previously installed systemd unit
     195      by running the following command as the
     196      <systemitem class="username">root</systemitem> user:</para>
     197
     198<screen role="root" revision="systemd"><userinput>systemctl enable sysstat</userinput></screen>
    185199
    186200    </sect3>
  • general/sysutils/systemd.xml

    re4d2b8d r1552ac8  
    138138
    139139<screen><userinput>sed -e 's@DRI and frame buffer@DRI@' \
    140     -e '/SUBSYTEM==\"graphics\", KERNEL==\"fb\*\"/d' \
     140    -e '/SUBSYSTEM==\"graphics\", KERNEL==\"fb\*\"/d' \
    141141    -i  src/login/70-uaccess.rules</userinput></screen>
    142142
  • general/sysutils/udisks.xml

    re4d2b8d r1552ac8  
    8383      <xref linkend="polkit"/>, and
    8484      <xref linkend="sg3_utils"/>
     85    </para>
     86
     87    <bridgehead renderas="sect4" revision="systemd">Recommended</bridgehead>
     88    <para role="recommended" revision="systemd">
     89      <xref linkend="systemd"/>
    8590    </para>
    8691
  • general/sysutils/udisks2.xml

    re4d2b8d r1552ac8  
    8080      <xref linkend="libxslt"/>, and
    8181      <xref linkend="polkit"/>
     82    </para>
     83
     84    <bridgehead renderas="sect4" revision="systemd">Recommended</bridgehead>
     85    <para role="recommended" revision="systemd">
     86      <xref linkend="systemd"/>
    8287    </para>
    8388
     
    192197      </varlistentry>
    193198
     199      <varlistentry id="umountudisks2" revision="systemd">
     200        <term><command>umount.udisks2</command></term>
     201        <listitem>
     202          <para>
     203            is a command-line program used to unmount file systems
     204            that have been mounted by the
     205            <application>UDisks</application> daemon.
     206          </para>
     207          <indexterm zone="udisks2 umountudisks2">
     208            <primary sortas="b-umount.udisks2">umountudisks2</primary>
     209          </indexterm>
     210        </listitem>
     211      </varlistentry>
     212
    194213      <varlistentry id="libudisks2">
    195214        <term><filename class="libraryfile">libudisks2.so</filename></term>
  • general/sysutils/upower.xml

    re4d2b8d r1552ac8  
    148148    <title>Configuring your kernel for UPower</title>
    149149
     150<!-- FIXME: Update for systemd xref for gnome-power-manager after it goes in -->
    150151    <para>
    151152      To use the command <command>upower -w</command> for information about
     
    156157    </para>
    157158
    158   </sect2>
     159    <sect3  id="upower-init" revision="systemd">
     160      <title>Systemd Unit</title>
     161
     162      <para>
     163        To start the <command>upowerd</command> daemon at boot,
     164        enable the previously installed systemd unit by
     165        running the following command as the
     166        <systemitem class="username">root</systemitem> user:
     167      </para>
     168
     169      <indexterm zone="upower upower-init">
     170        <primary sortas="f-upower">upower</primary>
     171      </indexterm>
     172
     173<screen role="root"><userinput>systemctl enable upower</userinput></screen>
     174
     175    </sect3>
     176 
     177  </sect2>
     178
    159179  <sect2 role="content">
    160180    <title>Contents</title>
    161181
    162182    <segmentedlist>
    163       <segtitle>Installed Program</segtitle>
     183      <segtitle>Installed Program<phrase revision="systemd">s</phrase></segtitle>
    164184      <segtitle>Installed Libraries</segtitle>
    165185      <segtitle>Installed Directories</segtitle>
     
    167187      <seglistitem>
    168188        <seg>
    169           upower
     189          upower<phrase revision="systemd"> and upowerd</phrase>
    170190        </seg>
    171191        <seg>
     
    197217      </varlistentry>
    198218
     219      <varlistentry id="upowerd" revision="systemd">
     220        <term><command>upowerd</command></term>
     221        <listitem>
     222          <para>
     223            is the <application>UPower</application> Daemon. It provides the
     224            org.freedesktop.UPower service on the system message bus.
     225          </para>
     226          <indexterm zone="upower upowerd">
     227            <primary sortas="b-upowerd">upowerd</primary>
     228          </indexterm>
     229        </listitem>
     230      </varlistentry>
     231
    199232      <varlistentry id="libupower-glib">
    200233        <term><filename class="libraryfile">libupower-glib.so</filename></term>
Note: See TracChangeset for help on using the changeset viewer.