- Баллы
- 123
- Ник в Minecraft
- gasfull
Помогите пишу в start.sh :
#!/bin/bash
BINDIR=$(dirname "$(readlink -fn "$0")")
cd "$BINDIR"
while true
do
java -Xincgc -Xms1024M -Xmx1024M -jar craftbukkit.jar
echo -e 'If you want to completely stop the server process now, press ctrl-C before the\ntime is up!'
echo "Rebooting in:"
for i in {5..1}
do
echo "$i..."
sleep 1
done
echo 'Restarting now!'
и пишет Syntax error: end of file unexpected (expecting "done")
Помогите исправить ошибку
P.S. Я в этом 0 )
#!/bin/bash
BINDIR=$(dirname "$(readlink -fn "$0")")
cd "$BINDIR"
while true
do
java -Xincgc -Xms1024M -Xmx1024M -jar craftbukkit.jar
echo -e 'If you want to completely stop the server process now, press ctrl-C before the\ntime is up!'
echo "Rebooting in:"
for i in {5..1}
do
echo "$i..."
sleep 1
done
echo 'Restarting now!'
и пишет Syntax error: end of file unexpected (expecting "done")
Помогите исправить ошибку
P.S. Я в этом 0 )