From ee547337e2a5ae97dc52b3e67b4481247470eaf6 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Mon, 24 Nov 2008 15:15:27 +0100 Subject: Converted some DOS newlines to UNIX --- misc/scripts/start | 62 +++++++++++++++++++++++++++--------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) (limited to 'misc') diff --git a/misc/scripts/start b/misc/scripts/start index f73fafd..e80d507 100644 --- a/misc/scripts/start +++ b/misc/scripts/start @@ -1,32 +1,32 @@ -# /bin/bash - -./athena-start start -sleep 30 - -while [ true ] ; do -if [ " 0" = "$(ps | grep -e login | wc -l)" ] || - [ " 0" = "$(ps | grep -e char | wc -l)" ] || - [ " 0" = "$(ps | grep -e map | wc -l)" ]; then -printf "Error:" -date - sleep 10 - printf "Checking:" - date - if [ " 0" = "$(ps | grep -e login | wc -l)" ] || - [ " 0" = "$(ps | grep -e char | wc -l)" ] || - [ " 0" = "$(ps | grep -e map | wc -l)" ]; then - printf "Error Confirmation:" - date - printf "Restoration:" - date - ./athena-start start - else - printf "Check Miss Sorry:" - date - fi -else -#printf "Check OK:" -#date -fi -sleep 10 +# /bin/bash + +./athena-start start +sleep 30 + +while [ true ] ; do +if [ " 0" = "$(ps | grep -e login | wc -l)" ] || + [ " 0" = "$(ps | grep -e char | wc -l)" ] || + [ " 0" = "$(ps | grep -e map | wc -l)" ]; then +printf "Error:" +date + sleep 10 + printf "Checking:" + date + if [ " 0" = "$(ps | grep -e login | wc -l)" ] || + [ " 0" = "$(ps | grep -e char | wc -l)" ] || + [ " 0" = "$(ps | grep -e map | wc -l)" ]; then + printf "Error Confirmation:" + date + printf "Restoration:" + date + ./athena-start start + else + printf "Check Miss Sorry:" + date + fi +else +#printf "Check OK:" +#date +fi +sleep 10 done \ No newline at end of file -- cgit v1.2.3-70-g09d2