Skip to contentSkip to conversation

doc/debian.conntrackd.init.d: drop file

PATCH In review Arturo Borrero Gonzalez 2 participants 2 messages Aug 20, 2015 – Aug 26, 2015 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc/debian.conntrackd.init.d: drop file

From: Arturo Borrero Gonzalez <[email protected]>

This file is likely dead code. It's outdated.

Also I think distributors should manage themselves to integrate daemons in their operating systems. Following this idea, this file doesn't belong here.

---
 doc/debian.conntrackd.init.d |   48 ------------------------------------------
 1 file changed, 48 deletions(-)
 delete mode 100644 doc/debian.conntrackd.init.d
doc/debian.conntrackd.init.d deleted +0 -48
deleted file mode 100644
index ba847dd..0000000
@@ -1,48 +0,0 @@
-#!/bin/sh
-#
-# /etc/init.d/conntrackd
-#
-# Maximilian Wilhelm <[email protected]>
-#  -- Mon, 06 Nov 2006 18:39:07 +0100
-#
-
-export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-
-NAME="conntrackd"
-DAEMON=`command -v conntrackd`
-CONFIG="/etc/conntrack/conntrackd.conf"
-PIDFILE="/var/run/${NAME}.pid"
-
-
-# Gracefully exit if there is no daemon (debian way of life)
-if [ ! -x "${DAEMON}" ]; then
-	exit 0
-fi
-
-# Check for config file
-if [ ! -f /etc/conntrackd/conntrackd.conf ]; then
-	echo "Error: There is no config file for $NAME" >&2
-	exit 1;
-fi
-
-case "$1" in
-  start)
-        echo -n "Starting $NAME: "
-	start-stop-daemon --start --quiet --make-pidfile --pidfile "/var/run/${NAME}.pid" --background --exec "${DAEMON}"  && echo "done." || echo "FAILED!"
-	;;
-  stop)
-        echo -n "Stopping $NAME:"
-	start-stop-daemon --stop --quiet --oknodo --pidfile "/var/run/${NAME}.pid" && echo "done." || echo "FAILED!"
-	;;
-
-  restart)
-	$0 start
-	$0 stop
-	;;
-
-  *)
-	echo "Usage: /etc/init.d/conntrackd {start|stop|restart}"
-	exit 1
-esac
-
-exit 0
#1 lore raw
Quoted 6 lines · Arturo Borrero Gonzalez

From: Arturo Borrero Gonzalez <[email protected]>

This file is likely dead code. It's outdated.

Also I think distributors should manage themselves to integrate daemons in their operating systems. Following this idea, this file doesn't belong here.

Agreed, this is a leftover from the past. Thanks.