From c3fe5f43ebce077d8711fe7ba4a30cb78dea2d38 Mon Sep 17 00:00:00 2001 From: ultramage Date: Tue, 27 Mar 2007 07:41:05 +0000 Subject: - Removed a missing file reference in the athena-start script - Fixed a #error " has been replaced by " 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 --- athena-start | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'athena-start') 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 ;; -- cgit v1.2.3-60-g2f50