net-misc/dhcp: add OpenRC description strings

Show a description of the service and the exported `configtest` command
when running `rc-service dhcpd describe`.

Signed-off-by: Oskari Pirhonen <xxc3ncoredxx@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/34452
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Oskari Pirhonen
2024-02-18 11:24:23 +00:00
committed by Sam James
parent c2f15f1538
commit e16e402a62
+4 -1
View File
@@ -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}