Ignore:
Timestamp:
06/06/2016 04:26:43 AM (8 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
a6ccf19
Parents:
22f9c48
Message:

[Systemd merge] - general/sysutils part 1

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/autofs.xml

    r22f9c48 rd5497a2e  
    112112    commands:</para>
    113113
    114 <screen><userinput>./configure --prefix=/         \
     114<screen revision="sysv"><userinput>./configure --prefix=/         \
    115115            --without-openldap \
    116116            --mandir=/usr/share/man &amp;&amp;
    117117make</userinput></screen>
    118118
     119<screen revision="systemd"><userinput>./configure --prefix=/         \
     120            --with-systemd     \           
     121            --without-openldap \
     122            --mandir=/usr/share/man &amp;&amp;
     123make</userinput></screen>
     124
    119125    <para>This package does not come with a test suite.</para>
    120126
     
    127133  <sect2 role="commands">
    128134    <title>Command Explanations</title>
     135
     136    <para revision="systemd">
     137      <parameter>--with-systemd</parameter>: This switch enables installation
     138      of the bundled systemd units.
     139    </para>
    129140
    130141    <para>
     
    244255
    245256    <sect3  id="autofs-init">
    246       <title>Boot Script</title>
    247 
    248       <para> <application>autofs</application> installs its own boot script,
    249       but it has no capability for logging or visual conformance with other
    250       BLFS scripts.</para>
    251 
    252       <para>Install the <filename>/etc/init.d/autofs</filename> mount script
    253       included with the <xref linkend="bootscripts" revision="sysv"/>
    254       <xref linkend="systemd-units" revision="systemd"/> package.</para>
     257      <title><phrase revision="sysv">Boot Script</phrase>
     258             <phrase revision="systemd">Systemd Unit</phrase></title>
     259
     260      <para revision="sysv"><application>autofs</application> installs its own
     261      boot script, but it has no capability for logging or visual conformance
     262      with other BLFS scripts.</para>
     263
     264      <para revision="sysv">Install the <filename>/etc/init.d/autofs</filename>
     265      mount script included with the <xref linkend="bootscripts"/>
     266      package.</para>
     267
     268      <para revision="systemd">
     269        To start <application>Autofs</application> at boot, enable the
     270        previously installed systemd unit by running the following command as
     271        the <systemitem class="username">root</systemitem> user:
     272      </para>
    255273
    256274      <indexterm zone="autofs autofs-init">
     
    258276      </indexterm>
    259277
    260 <screen role="root"><userinput>make install-autofs</userinput></screen>
    261 
    262       <para>The time-out variable is set in
     278<screen role="root" revision="sysv"><userinput>make install-autofs</userinput></screen>
     279
     280<screen role="root" revision="systemd"><userinput>systemctl enable autofs</userinput></screen>
     281
     282      <para revision="sysv">The time-out variable is set in
    263283      <filename>/etc/sysconfig/autofs.conf</filename>. The installed file sets
    264284      a default of 60 seconds of inactivity before unmounting the device.  A
    265285      much shorter time may be necessary to protect buffer writing to a floppy
    266286      if users tend to remove the media prior to the timeout setting.</para>
     287
     288      <note revision="systemd">
     289        <para>
     290          You can also specify <envar>OPTIONS</envar> variable in the
     291          <filename>/etc/sysconfig/autofs</filename> file with any additional
     292          parameters that you might want to pass to the automount daemon.
     293        </para>
     294      </note>
    267295
    268296    </sect3>
Note: See TracChangeset for help on using the changeset viewer.