summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-06-28 13:13:55 +0200
committerJeroen Roovers <jer@gentoo.org>2020-06-28 14:05:35 +0200
commit403c29bc5a1f7aff555915962b083d292fdecdf1 (patch)
tree671042c7596f23184291014125f6aa38fe3709b7 /net-analyzer
parentdev-vcs/mercurial: remove nonexistent blocker (diff)
downloadgentoo-403c29bc5a1f7aff555915962b083d292fdecdf1.tar.gz
gentoo-403c29bc5a1f7aff555915962b083d292fdecdf1.tar.bz2
gentoo-403c29bc5a1f7aff555915962b083d292fdecdf1.zip
net-analyzer/arpwatch: Clean up FILESDIR
Bug: https://bugs.gentoo.org/602552 Fixes: 6386bce12b9bae7b7e123449d719203d757a1402 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/arpwatch/files/arpwatch.confd11
-rw-r--r--net-analyzer/arpwatch/files/arpwatch.initd36
2 files changed, 0 insertions, 47 deletions
diff --git a/net-analyzer/arpwatch/files/arpwatch.confd b/net-analyzer/arpwatch/files/arpwatch.confd
deleted file mode 100644
index 98abe0417740..000000000000
--- a/net-analyzer/arpwatch/files/arpwatch.confd
+++ /dev/null
@@ -1,11 +0,0 @@
-# Config file for /etc/init.d/arpwatch
-# see arpwatch.8 for more information
-
-#IFACES="eth0 eth1"
-IFACES="eth0"
-
-# Additional options to pass to arpwatch.
-OPTIONS="-N -p"
-
-# Comment this line if you wish arpwatch to run as root user (not recommended)
-ARPUSER="arpwatch"
diff --git a/net-analyzer/arpwatch/files/arpwatch.initd b/net-analyzer/arpwatch/files/arpwatch.initd
deleted file mode 100644
index 5569dcee2527..000000000000
--- a/net-analyzer/arpwatch/files/arpwatch.initd
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need net
-}
-
-start() {
- for IFACE in ${IFACES}
- do
- ebegin "Starting arpwatch on ${IFACE}"
- DATAFILE=/var/lib/arpwatch/${IFACE}.dat
- [ ! -f ${DATAFILE} ] && touch ${DATAFILE}
-
- if [ -z ${ARPUSER} ]; then
- start-stop-daemon --start --quiet --pidfile=/var/run/arpwatch.${IFACE}.pid --exec \
- /usr/sbin/arpwatch -- -i ${IFACE} -f ${DATAFILE} -P /var/run/arpwatch.${IFACE}.pid ${OPTIONS}
- else
- chown ${ARPUSER} ${DATAFILE}
- start-stop-daemon --start --quiet --pidfile=/var/run/arpwatch.${IFACE}.pid --exec \
- /usr/sbin/arpwatch -- -i $IFACE -u ${ARPUSER} -f ${DATAFILE} -P /var/run/arpwatch.${IFACE}.pid ${OPTIONS}
- fi
- eend $?
- done
-}
-
-stop() {
- for IFACE in ${IFACES}
- do
- ebegin "Stopping arpwatch on ${IFACE}"
- start-stop-daemon --stop --quiet --pidfile=/var/run/arpwatch.${IFACE}.pid --exec \
- /usr/sbin/arpwatch
- eend $?
- done
-}