diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-11-24 15:15:27 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-11-24 15:15:27 +0100 |
commit | ee547337e2a5ae97dc52b3e67b4481247470eaf6 (patch) | |
tree | 38f8d199a30287f0b3afc88b8406095b771aaa6f /misc/scripts | |
parent | 8e6a5d1e2c433741025f855a3621532219e254f3 (diff) | |
download | tmwa-ee547337e2a5ae97dc52b3e67b4481247470eaf6.tar.gz tmwa-ee547337e2a5ae97dc52b3e67b4481247470eaf6.tar.bz2 tmwa-ee547337e2a5ae97dc52b3e67b4481247470eaf6.tar.xz tmwa-ee547337e2a5ae97dc52b3e67b4481247470eaf6.zip |
Converted some DOS newlines to UNIX
Diffstat (limited to 'misc/scripts')
-rw-r--r-- | misc/scripts/start | 62 |
1 files changed, 31 insertions, 31 deletions
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 |