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