commit:     de032307bbf24daff0ce88df038f3ce6d35a3957
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 19 18:11:24 2018 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Mon Mar 19 18:11:39 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de032307

net-dns/dnsmasq: Remove unused files (bug #650194)

Closes: https://bugs.gentoo.org/650194
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-dns/dnsmasq/files/dnsmasq-init-dhcp-r1 | 29 -----------------------------
 net-dns/dnsmasq/files/dnsmasq-init-r2      | 23 -----------------------
 2 files changed, 52 deletions(-)

diff --git a/net-dns/dnsmasq/files/dnsmasq-init-dhcp-r1 
b/net-dns/dnsmasq/files/dnsmasq-init-dhcp-r1
deleted file mode 100644
index b62630f7140..00000000000
--- a/net-dns/dnsmasq/files/dnsmasq-init-dhcp-r1
+++ /dev/null
@@ -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 $?
-}

diff --git a/net-dns/dnsmasq/files/dnsmasq-init-r2 
b/net-dns/dnsmasq/files/dnsmasq-init-r2
deleted file mode 100644
index ed487b9fd1b..00000000000
--- a/net-dns/dnsmasq/files/dnsmasq-init-r2
+++ /dev/null
@@ -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 $?
-}

Reply via email to