summaryrefslogtreecommitdiff
path: root/athena-start
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-07 23:29:00 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-07 23:29:00 -0300
commit5203720fa4b4cfb04ec8f7fffd7ceba5aa93241a (patch)
treea136987cd519659d8da6e6016d0e3fea17291cf2 /athena-start
parent6b9de8c8b0926a0af20471330653d4c37d5f9d40 (diff)
downloadserverdata-5203720fa4b4cfb04ec8f7fffd7ceba5aa93241a.tar.gz
serverdata-5203720fa4b4cfb04ec8f7fffd7ceba5aa93241a.tar.bz2
serverdata-5203720fa4b4cfb04ec8f7fffd7ceba5aa93241a.tar.xz
serverdata-5203720fa4b4cfb04ec8f7fffd7ceba5aa93241a.zip
Remove deprecated files
Diffstat (limited to 'athena-start')
-rwxr-xr-xathena-start72
1 files changed, 0 insertions, 72 deletions
diff --git a/athena-start b/athena-start
deleted file mode 100755
index eb3dbdf5a..000000000
--- a/athena-start
+++ /dev/null
@@ -1,72 +0,0 @@
-#!/bin/sh
-# athena starting script by rowla
-# modified by shazeya@syafi.com (NL101541)
-
-PATH=./:$PATH
-
-L_SRV=login-server
-C_SRV=char-server
-M_SRV=map-server
-
-print_start() {
-# more << EOF
-echo "Athena Starting..."
-echo " (c) 2003 Athena Project"
-echo " modified by shazeya@syafi.com"
-echo ""
-#echo "Debug informations will appear,"
-#echo "since this is a test release."
-#echo ""
-echo "checking..."
-#EOF
-}
-
-check_files() {
-
- for i in ${L_SRV} ${C_SRV} ${M_SRV}
- do
- if [ ! -f ./$i ]; then
- echo "$i does not exist, or can't run."
- echo "Stop. Check your compile."
- exit 1;
- fi
- done
-
-# more << EOF
-echo "Check complete."
-echo "Looks good, a nice Athena!"
-#EOF
-}
-
-
-case $1 in
- 'start')
- print_start
- check_files
-
- exec ./${L_SRV}&
- echo $! > .${L_SRV}.pid
- exec ./${C_SRV}&
- echo $! > .${C_SRV}.pid
- exec ./${M_SRV}&
- echo $! > .${M_SRV}.pid
-
- echo "Now Started Athena."
-;;
- 'stop')
- for i in .${L_SRV}.pid .${C_SRV}.pid .${M_SRV}.pid
- do
- if [ -e ./$i ]; then
- kill $(cat $i)
- rm $i
- fi
- done
-;;
- 'restart')
- $0 stop
- $0 start
-;;
- *)
- echo "Usage: athena-start { start | stop | restart }"
-;;
-esac