summaryrefslogtreecommitdiff
path: root/net-misc/igmpproxy/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/igmpproxy/files')
-rw-r--r--net-misc/igmpproxy/files/igmpproxy-conf.d6
-rw-r--r--net-misc/igmpproxy/files/igmpproxy-init.d24
-rw-r--r--net-misc/igmpproxy/files/igmpproxy.initd20
3 files changed, 0 insertions, 50 deletions
diff --git a/net-misc/igmpproxy/files/igmpproxy-conf.d b/net-misc/igmpproxy/files/igmpproxy-conf.d
deleted file mode 100644
index a7a2b348d2a5..000000000000
--- a/net-misc/igmpproxy/files/igmpproxy-conf.d
+++ /dev/null
@@ -1,6 +0,0 @@
-# Specify a configuration file
-IGMPPROXY_CONFIG="/etc/igmpproxy.conf"
-
-# Additional command line options.
-# See igmpproxy(8) for more information.
-IGMPPROXY_OPTS=""
diff --git a/net-misc/igmpproxy/files/igmpproxy-init.d b/net-misc/igmpproxy/files/igmpproxy-init.d
deleted file mode 100644
index ca0b88032713..000000000000
--- a/net-misc/igmpproxy/files/igmpproxy-init.d
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need net
- use logger
-}
-
-start() {
- ebegin "Starting IGMPproxy"
- start-stop-daemon --start --background \
- --make-pidfile --pidfile /var/run/igmpproxy.pid \
- --exec /usr/sbin/igmpproxy -- \
- ${IGMPPROXY_OPTS} "${IGMPPROXY_CONFIG:-/etc/igmpproxy.conf}"
- eend $?
-}
-
-stop() {
- ebegin "Stopping IGMPproxy"
- start-stop-daemon --stop --pidfile /var/run/igmpproxy.pid
- eend $?
-}
-
diff --git a/net-misc/igmpproxy/files/igmpproxy.initd b/net-misc/igmpproxy/files/igmpproxy.initd
deleted file mode 100644
index d8f727ba034c..000000000000
--- a/net-misc/igmpproxy/files/igmpproxy.initd
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-config="/etc/${RC_SVCNAME}.conf"
-name="IGMPproxy"
-pidfile="/run/${RC_SVCNAME}.pid"
-
-command="igmpproxy"
-command_args="${IGMPPROXY_OPTS} ${config}"
-procname="${RC_SVCNAME}"
-
-start_pre() {
- if [ ! -f "${config}" ]; then
- eerror "Please create ${config} before starting ${name}!"
- return 1
- else
- return 0
- fi
-}