summaryrefslogtreecommitdiff
path: root/community/sslh/sslh.rc
diff options
context:
space:
mode:
Diffstat (limited to 'community/sslh/sslh.rc')
-rw-r--r--community/sslh/sslh.rc34
1 files changed, 0 insertions, 34 deletions
diff --git a/community/sslh/sslh.rc b/community/sslh/sslh.rc
deleted file mode 100644
index 456e122f4..000000000
--- a/community/sslh/sslh.rc
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/${0##*/}
-
-DAEMON=/usr/bin/sslh
-PID=$(pidof -o %PPID $DAEMON)
-DAEMON_OPTS="--background $DAEMON_OPTS"
-
-case "$1" in
- start)
- stat_busy "Starting ${0##*/} daemon"
- [[ ! $PID ]] && $DAEMON $DAEMON_OPTS && add_daemon ${0##*/} && stat_done && exit 0
- stat_fail
- ;;
- stop)
- stat_busy "Stopping ${0##*/} daemon"
- [[ $PID ]] && kill $PID &> /dev/null && rm_daemon ${0##*/} && stat_done && exit 0
- stat_fail
- ;;
- restart)
- $0 stop
- $0 start
- exit 0
- ;;
- *)
- echo "usage: ${0##*/} {start|stop|restart}" >&2
- ;;
-esac
-
-exit 1
-
-# vim:set ts=2 sw=2 ft=sh et: