diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-18 17:39:04 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-18 17:39:04 +0000 |
commit | 9897403e8218123dc1c8d3797b083652f08779a9 (patch) | |
tree | 4094b584adf5bb6134895d92d675388b79bc13a0 /net-misc/dhcp/files | |
parent | 08f1ae6b8bd1202a10c5f0d07ee0adc846e0308c (diff) |
gentoo auto-resync : 18:02:2024 - 17:39:04
Diffstat (limited to 'net-misc/dhcp/files')
-rw-r--r-- | net-misc/dhcp/files/dhcpd.conf2 | 4 | ||||
-rw-r--r-- | net-misc/dhcp/files/dhcpd.init5 | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/net-misc/dhcp/files/dhcpd.conf2 b/net-misc/dhcp/files/dhcpd.conf2 index 5cd2eeca3f71..ac173f8a3576 100644 --- a/net-misc/dhcp/files/dhcpd.conf2 +++ b/net-misc/dhcp/files/dhcpd.conf2 @@ -16,7 +16,9 @@ # All file paths below are relative to the chroot. # You can specify a different chroot directory but MAKE SURE it's empty. -# Specify a configuration file - the default is /etc/dhcp/dhcpd.conf +# Specify a configuration file - the default is based on the service name, +# so dhcpd would use /etc/dhcp/dhcpd.conf and dhcpd.foo would use +# /etc/dhcp/dhcpd.foo.conf # DHCPD_CONF="/etc/dhcp/dhcpd.conf" # Configure which interface or interfaces to for dhcpd to listen on. diff --git a/net-misc/dhcp/files/dhcpd.init5 b/net-misc/dhcp/files/dhcpd.init5 index 66b29cd3bb00..8e05625e6345 100644 --- a/net-misc/dhcp/files/dhcpd.init5 +++ b/net-misc/dhcp/files/dhcpd.init5 @@ -1,8 +1,11 @@ #!/sbin/openrc-run -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +description="ISC DHCP server" + extra_commands="configtest" +description_configtest="Test the syntax of the configuration file" : ${DHCPD_CONF:=/etc/dhcp/${SVCNAME}.conf} |