mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
dhcpd: the /var/lib/dhcp/dhcp.leases files is needed
Otherwise dhcpd does not start. The "touch ..." instruction is the recommended way to create this file according to dhcp.leases(5)
This commit is contained in:
parent
51d13f742f
commit
db19db1ad7
@ -437,13 +437,15 @@ EOF</userinput></screen>
|
||||
<command>man 5 dhcpd.conf</command> for additional options.
|
||||
</para>
|
||||
|
||||
<!-- the "touch..." is needed according to dhcpd.leases(5) -->
|
||||
<para>
|
||||
Now create the <filename class="directory">/var/lib/dhcpd</filename>
|
||||
Now create the <filename>/var/lib/dhcpd/dhcpd.leases</filename>
|
||||
directory which will contain DHCP Server leases by running the following
|
||||
command as the <systemitem class="username">root</systemitem> user:
|
||||
commands as the <systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>install -v -dm 755 /var/lib/dhcpd</userinput></screen>
|
||||
<screen role="root"><userinput>install -v -dm 755 /var/lib/dhcpd &&
|
||||
touch /var/lib/dhcpd/dhcpd.leases</userinput></screen>
|
||||
|
||||
<para>
|
||||
If you want to start the DHCP Server at boot, install the
|
||||
|
Loading…
Reference in New Issue
Block a user