summarylogtreecommitdiffstats
path: root/tcsd
diff options
context:
space:
mode:
Diffstat (limited to 'tcsd')
-rw-r--r--tcsd45
1 files changed, 0 insertions, 45 deletions
diff --git a/tcsd b/tcsd
deleted file mode 100644
index bf04c98705a6..000000000000
--- a/tcsd
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-DAEMON='tcsd'
-TCSD=/usr/sbin/tcsd
-PID=`pidof -o %PPID ${TCSD}`
-
-case "$1" in
-
- start)
- stat_busy "Starting ${DAEMON}"
- if [ -z "$PID" ]; then
- $TCSD
- fi
- if [ ! -z "$PID" -o $? -gt 0 ]; then
- stat_fail
- else
- add_daemon ${DAEMON}
- stat_done
- fi
- ;;
-
- stop)
- stat_busy "Stopping ${DAEMON}"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon ${DAEMON}
- stat_done
- fi
- ;;
-
- restart)
- $0 stop
- $0 start
- ;;
-
- *)
- echo "usage: $0 {start|stop|restart}"
-
-esac
-exit 0