summaryrefslogtreecommitdiff
path: root/irc/ircd-ru/files/ircd.sh.sample
diff options
context:
space:
mode:
Diffstat (limited to 'irc/ircd-ru/files/ircd.sh.sample')
-rw-r--r--irc/ircd-ru/files/ircd.sh.sample23
1 files changed, 0 insertions, 23 deletions
diff --git a/irc/ircd-ru/files/ircd.sh.sample b/irc/ircd-ru/files/ircd.sh.sample
deleted file mode 100644
index 36d64efb43aa..000000000000
--- a/irc/ircd-ru/files/ircd.sh.sample
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-PREFIX=$(expr $0 : "\(/.*/\)etc/rc\.d/$(basename $0)\$")
-
-IRCD=${PREFIX}sbin/ircd
-
-case "$1" in
-start)
- if [ -x $IRCD ]; then
- $IRCD -u ircd -g ircd >/dev/null 2>&1
- echo -n ' ircd'
- fi
- ;;
-stop)
- kill `cat /var/run/ircd-ru/ircd.pid` >/dev/null 2>&1
- echo -n ' ircd'
- ;;
-*)
- echo "Usage: `basename $0` {start|stop}" >&2
- ;;
-esac
-
-exit 0