summaryrefslogtreecommitdiff
path: root/athena-start
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-27 07:41:05 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-27 07:41:05 +0000
commitc3fe5f43ebce077d8711fe7ba4a30cb78dea2d38 (patch)
tree38e7f5d78975a9777dec8e33a4deeca32db5fe00 /athena-start
parent1c82999ec3876f8198b44919fdcdd0a7806613ce (diff)
downloadhercules-c3fe5f43ebce077d8711fe7ba4a30cb78dea2d38.tar.gz
hercules-c3fe5f43ebce077d8711fe7ba4a30cb78dea2d38.tar.bz2
hercules-c3fe5f43ebce077d8711fe7ba4a30cb78dea2d38.tar.xz
hercules-c3fe5f43ebce077d8711fe7ba4a30cb78dea2d38.zip
- Removed a missing file reference in the athena-start script
- Fixed a #error "<malloc.h> has been replaced by <stdlib.h>" problem - Fixed the msg_silent setting not being announced every time git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10077 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'athena-start')
-rw-r--r--athena-start9
1 files changed, 4 insertions, 5 deletions
diff --git a/athena-start b/athena-start
index 85cc18bc2..7a69be4c1 100644
--- a/athena-start
+++ b/athena-start
@@ -17,7 +17,6 @@ M_SRV_C2=./conf/battle_athena.conf
M_SRV_C3=./conf/atcommand_athena.conf
M_SRV_C4=./conf/script_athena.conf
M_SRV_C5=./conf/msg_athena.conf
-M_SRV_C6=./conf/grf-files.txt
print_start() {
# more << EOF
@@ -114,7 +113,7 @@ check_account() {
check_files() {
- for i in ${L_SRV} ${C_SRV} ${M_SRV} ${L_SRV_C} ${C_SRV_C} ${C_SRV_C2} ${M_SRV_C} ${M_SRV_C2} ${M_SRV_C3} ${M_SRV_C4} ${M_SRV_C5} ${M_SRV_C6}
+ for i in ${L_SRV} ${C_SRV} ${M_SRV} ${L_SRV_C} ${C_SRV_C} ${C_SRV_C2} ${M_SRV_C} ${M_SRV_C2} ${M_SRV_C3} ${M_SRV_C4} ${M_SRV_C5}
do
if [ ! -f ./$i ]; then
echo "$i does not exist, or can't run."
@@ -169,8 +168,8 @@ case $1 in
# exec ${C_SRV} ${C_SRV_C} ${C_SRV_C2} > /dev/null&
# exec ${M_SRV} ${M_SRV_C} ${M_SRV_C2} > /dev/null&
exec ${C_SRV} ${C_SRV_C} ${C_SRV_C2}&
-# exec nice -n -20 ${M_SRV} ${M_SRV_C} ${M_SRV_C2} ${M_SRV_C3} ${M_SRV_C4} ${M_SRV_C5} ${M_SRV_C6}&
- exec ${M_SRV} ${M_SRV_C} ${M_SRV_C2} ${M_SRV_C3} ${M_SRV_C4} ${M_SRV_C5} ${M_SRV_C6}&
+# exec nice -n -20 ${M_SRV} ${M_SRV_C} ${M_SRV_C2} ${M_SRV_C3} ${M_SRV_C4} ${M_SRV_C5}&
+ exec ${M_SRV} ${M_SRV_C} ${M_SRV_C2} ${M_SRV_C3} ${M_SRV_C4} ${M_SRV_C5}&
echo "Now Started Athena."
else
@@ -267,7 +266,7 @@ case $1 in
map=$(ps ax | grep "${M_SRV}" | grep "${map}" | wc -l)
fi
if [ ${map} -eq 0 ]; then
- exec ${M_SRV} ${M_SRV_C} ${M_SRV_C2} ${M_SRV_C3} ${M_SRV_C4} ${M_SRV_C5} ${M_SRV_C6}&
+ exec ${M_SRV} ${M_SRV_C} ${M_SRV_C2} ${M_SRV_C3} ${M_SRV_C4} ${M_SRV_C5}&
fi
fi
;;