mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
net-dns/dnsmasq: Remove unused files (bug #650194)
Closes: https://bugs.gentoo.org/650194 Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License, v2 or later
|
||||
|
||||
extra_started_commands="reload"
|
||||
|
||||
pidfile="/var/run/dnsmasq.pid"
|
||||
command="/usr/sbin/dnsmasq"
|
||||
command_args="-x ${pidfile} ${DNSMASQ_OPTS}"
|
||||
retry="TERM/3/TERM/5"
|
||||
|
||||
depend() {
|
||||
provide dns
|
||||
need localmount net
|
||||
after bootmisc
|
||||
use logger
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkpath --owner dnsmasq:dnsmasq \
|
||||
--mode 0644 \
|
||||
--file /var/lib/misc/dnsmasq.leases
|
||||
}
|
||||
|
||||
reload() {
|
||||
ebegin "Reloading ${RC_SVCNAME}"
|
||||
kill -HUP "$(cat "${pidfile}")"
|
||||
eend $?
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License, v2 or later
|
||||
|
||||
extra_started_commands="reload"
|
||||
|
||||
pidfile="/var/run/dnsmasq.pid"
|
||||
command="/usr/sbin/dnsmasq"
|
||||
command_args="-x ${pidfile} ${DNSMASQ_OPTS}"
|
||||
retry="TERM/3/TERM/5"
|
||||
|
||||
depend() {
|
||||
provide dns
|
||||
need localmount net
|
||||
after bootmisc
|
||||
use logger
|
||||
}
|
||||
|
||||
reload() {
|
||||
ebegin "Reloading ${SVCNAME}"
|
||||
kill -HUP $(cat "${pidfile}")
|
||||
eend $?
|
||||
}
|
||||
Reference in New Issue
Block a user