summaryrefslogtreecommitdiffstats
path: root/extra/knock/knockd
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-03-07 11:44:08 +0100
committersibel <lesibel@free.fr>2011-03-07 11:44:08 +0100
commit083431558d47805085b959e59aaeb3ed2a7d30d2 (patch)
tree3bf5cfaa3953ad23b189ce3b1a0edad256c9c3ac /extra/knock/knockd
parent7efd0c1bf7a75bce3f2545f26f53c73c2f5c5581 (diff)
downloadnutyx-extra-083431558d47805085b959e59aaeb3ed2a7d30d2.tar.gz
nutyx-extra-083431558d47805085b959e59aaeb3ed2a7d30d2.tar.bz2
nutyx-extra-083431558d47805085b959e59aaeb3ed2a7d30d2.tar.xz
nutyx-extra-083431558d47805085b959e59aaeb3ed2a7d30d2.zip
knock, déplacé dans ouvert
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
-