From aed877235088b6f1d27b6fd03813c2d59e8e13c1 Mon Sep 17 00:00:00 2001 From: Shido Date: Sat, 17 May 2014 16:42:37 +0800 Subject: Removed redundants --- start | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100755 start (limited to 'start') diff --git a/start b/start deleted file mode 100755 index bd12a5e88..000000000 --- a/start +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash -# modified by shazeya@syafi.com (NL130240) - -./athena-start start -sleep 30 - -while [ true ]; do - if [ " 0" = "$(ps | grep -e log | wc -l)" ] || -# 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 log | wc -l)" ] || -# 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 -- cgit v1.2.3-70-g09d2