Changeset 690658a5


Ignore:
Timestamp:
02/19/2014 09:52:39 PM (10 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
4e047ca4
Parents:
6392ac9
Message:

Update dhcpcd instructions so that the lease is persistent across
reboots, and add a "command explanations" section

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/connect/dhcpcd.xml

    r6392ac9 r690658a5  
    7373
    7474<screen><userinput>./configure --libexecdir=/lib/dhcpcd \
    75             --dbdir=/run             \
    76             --sysconfdir=/etc &amp;&amp;
     75            --dbdir=/var/tmp         &amp;&amp;
    7776make</userinput></screen>
    7877
     
    8382<screen role='root'><userinput>make install</userinput></screen>
    8483
     84<!--
    8585    <para>By default, a plain text lease info file isn't created but the
    8686    <application>dhcpcd</application> provides a hook which can be used for creating
     
    9090<screen role='root'><userinput>sed -i "s;/var/lib;/run;g" dhcpcd-hooks/50-dhcpcd-compat &amp;&amp;
    9191install -v -m 644 dhcpcd-hooks/50-dhcpcd-compat /lib/dhcpcd/dhcpcd-hooks/</userinput></screen>
    92 
     92-->
     93
     94  </sect2>
     95
     96  <sect2 role="commands">
     97    <title>Command Explanations</title>
     98
     99    <para>
     100      <parameter>--libexecdir=/lib/dhcpcd</parameter>: The default
     101      <filename class="directory">/libexec</filename> is not FHS-compliant.
     102      Since this directory may need to be available early in the boot,
     103      <filename class="directory">/usr/libexec</filename> cannot be used either.
     104    </para>
     105
     106    <para>
     107      <parameter>--dbdir=/var/tmp</parameter>: The default
     108      <filename class="directory">/var/lib</filename> is not FHS-compliant
     109    </para>
     110
     111    <para>
     112      <option>--with-hook=...</option>: You can optionally install more hooks,
     113      for example to install some configuration files such as
     114      <filename>ntp.conf</filename>. The set of hooks is in the
     115      <filename class="directory">dhcpcd-hooks</filename> directory in the
     116      build tree.
     117    </para>
    93118  </sect2>
    94119
Note: See TracChangeset for help on using the changeset viewer.