Edit the [{Status}] with echo.
This commit is contained in:
parent
bf9fe346b0
commit
3f55b4690e
1 changed files with 9 additions and 9 deletions
18
start.sh
18
start.sh
|
|
@ -1,12 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
# start.sh file for Genisys #
|
||||
#
|
||||
# This is start.sh file for Genisys #
|
||||
# Please input ./start.sh to start server #
|
||||
|
||||
# Variable define
|
||||
|
||||
DIR="$(cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
|
||||
|
||||
# Change Directory
|
||||
cd "$DIR"
|
||||
|
||||
# Loop starting
|
||||
|
|
@ -14,9 +14,9 @@ cd "$DIR"
|
|||
|
||||
DO_LOOP="no"
|
||||
|
||||
###########################################
|
||||
# DO NOT EDIT ANY THING BEHIND THIS LINE! #
|
||||
###########################################
|
||||
##########################################
|
||||
# DO NOT EDIT ANYTHING BEHIND THIS LINE! #
|
||||
##########################################
|
||||
|
||||
while getopts "p:f:l" OPTION 2> /dev/null; do
|
||||
case ${OPTION} in
|
||||
|
|
@ -42,7 +42,7 @@ if [ "$PHP_BINARY" == "" ]; then
|
|||
elif type php 2>/dev/null; then
|
||||
PHP_BINARY=$(type -p php)
|
||||
else
|
||||
echo "Couldn't find a working PHP binary, please use the installer."
|
||||
echo "[ERROR] Couldn't find a working PHP binary, please use the installer."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
|
@ -57,7 +57,7 @@ if [ "$POCKETMINE_FILE" == "" ]; then
|
|||
elif [ -f ./src/pocketmine/PocketMine.php ]; then
|
||||
POCKETMINE_FILE="./src/pocketmine/PocketMine.php"
|
||||
else
|
||||
echo "Couldn't find a valid Genisys installation"
|
||||
echo "[ERROR] Couldn't find a valid Genisys installation."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
|
@ -75,5 +75,5 @@ while [ "$LOOPS" -eq 0 ] || [ "$DO_LOOP" == "yes" ]; do
|
|||
done
|
||||
|
||||
if [ ${LOOPS} -gt 1 ]; then
|
||||
echo "Restarted $LOOPS times"
|
||||
echo "[INFO] Restarted $LOOPS times"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue