summaryrefslogtreecommitdiffstats
path: root/extra/knock/knockd
diff options
context:
space:
mode:
Diffstat (limited to 'extra/knock/knockd')
-rw-r--r--extra/knock/knockd37
1 files changed, 0 insertions, 37 deletions
diff --git a/extra/knock/knockd b/extra/knock/knockd
deleted file mode 100644
index 413e77a70..000000000
--- a/extra/knock/knockd
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-. /etc/sysconfig/rc
-. $rc_functions
-
-pidfile=/var/run/knockd.pid
-
-case "$1" in
- start)
- boot_mesg "Starting KNOCKD Server..."
- loadproc /usr/sbin/knockd -d;;
-
- stop)
- boot_mesg "Stopping KNOCKD Server..."
- killproc /usr/sbin/knockd
- ;;
-
- reload)
- boot_mesg "Reloading KNOCKD Server..."
- reloadproc /usr/sbin/knockd
- ;;
-
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
-
- status)
- statusproc /usr/sbin/knockd
- ;;
-
- *)
- echo "Usage: $0 {start|stop|reload|restart|status}"
- exit 1
- ;;
-esac
-