summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2017-02-10 18:02:18 +0100
committerDavid Seifert <soap@gentoo.org>2017-02-11 21:14:38 +0100
commitc1f9b251bc260e8c7c794fb1ac34aa29285b46d6 (patch)
tree59f748d0a97216ebe7514f6a15892321cb22dfdd /sys-freebsd/freebsd-usbin/files/rarpd.initd
parentsys-freebsd/freebsd-ubin: remove unused patch (diff)
downloadgentoo-c1f9b251bc260e8c7c794fb1ac34aa29285b46d6.tar.gz
gentoo-c1f9b251bc260e8c7c794fb1ac34aa29285b46d6.tar.bz2
gentoo-c1f9b251bc260e8c7c794fb1ac34aa29285b46d6.zip
sys-freebsd/freebsd-usbin: remove unused patch/files
Closes: https://github.com/gentoo/gentoo/pull/3903
Diffstat (limited to 'sys-freebsd/freebsd-usbin/files/rarpd.initd')
-rw-r--r--sys-freebsd/freebsd-usbin/files/rarpd.initd35
1 files changed, 0 insertions, 35 deletions
diff --git a/sys-freebsd/freebsd-usbin/files/rarpd.initd b/sys-freebsd/freebsd-usbin/files/rarpd.initd
deleted file mode 100644
index 3c2a3ffe416..00000000000
--- a/sys-freebsd/freebsd-usbin/files/rarpd.initd
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-depend() {
- if [ -z "${RARPD_ONLY_INTERFACE}" ]; then
- need net
- else
- need net."${RARPD_ONLY_INTERFACE}"
- fi
-}
-
-start() {
- local rarpd_opts
-
- if [ -z "${RARPD_ONLY_INTERFACE}" ]; then
- rarpd_opts="${rarpd_opts} -a"
- else
- rarpd_opts="${rarpd_opts} ${RARPD_ONLY_INTERFACE}"
- fi
-
- ebegin "Starting reverse ARP daemon"
- start-stop-daemon --start --background \
- --pidfile /var/run/rarpd.pid --make-pidfile \
- --exec /usr/sbin/rarpd -- -f ${rarpd_opts}
- eend $?
-}
-
-stop() {
- ebegin "Stopping reverse ARP daemon"
- start-stop-daemon --stop --pidfile /var/run/rarpd.pid \
- --exec /usr/sbin/rarpd -- ${rarpd_opts}
- eend $?
-}