Premiumlike °*°Lunia-Network°*° - Wie viele Channel möchten sie öffnen ?
- 1 - (1) CH1
- 2 - (2) CH1, CH2
- 3 - (3) CH1, CH2, CH3
- 4 - (4) CH1, CH2, CH3, CH4
- 5 - (5) Abbrechen
: not found
2
: bad variable name
: not found
start.sh: 16: Syntax error: word unexpected (expecting ")")
habe nur die IP geändert in der start.sh kann mir jemand helfen?
start.sh:
#!/bin/sh
SERVER_IP=178.251.228.195
echo -e "\033[36m Premiumlike °*°Lunia-Network°*° - Wie viele Channel möchten sie öffnen ? \033[0m"
echo -e "
\033[32m- 1 - (1) CH1 \033[0m \n
\033[33m- 2 - (2) CH1, CH2 \033[0m \n
\033[35m- 3 - (3) CH1, CH2, CH3 \033[0m \n
\033[31m- 4 - (4) CH1, CH2, CH3, CH4 \033[0m \n
- 5 - (5) Abbrechen"
read chs
case $chs in
1*)
echo -e "\033[31m Starte DB ..\033[0m"
cd server/db
./db -I $SERVER_IP &
sleep 2
cd ../..
clear
echo -e "\033[31m \n Starte AUTH ..\033[0m"
cd server/auth
./game -I $SERVER_IP &
sleep 2
cd ../..
clear
echo -e "\033[31m \n Starte CH1, CORE1 ..\033[0m"
cd server/ch1/core1
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH1, CORE2 ..\033[0m"
cd server/ch1/core2
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH1, CORE3 ..\033[0m"
cd server/ch1/core3
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH1, CORE4 ..\033[0m"
cd server/ch1/core4
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH1, CORE5 ..\033[0m"
cd server/ch1/core5
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte GAME99, CORE1 ..\033[0m"
cd server/game99/core1
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte GAME99, CORE2 ..\033[0m"
cd server/game99/core2
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
;;
2*)
echo -e "\033[31m Starte DB ..\033[0m"
cd server/db
./db -I $SERVER_IP &
sleep 2
cd ../..
clear
echo -e "\033[31m \n Starte AUTH ..\033[0m"
cd server/auth
./game -I $SERVER_IP &
sleep 2
cd ../..
clear
echo -e "\033[31m \n Starte CH1, CORE1 ..\033[0m"
cd server/ch1/core1
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH1, CORE2 ..\033[0m"
cd server/ch1/core2
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH1, CORE3 ..\033[0m"
cd server/ch1/core3
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH1, CORE4 ..\033[0m"
cd server/ch1/core4
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH1, CORE5 ..\033[0m"
cd server/ch1/core5
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH2, CORE1 ..\033[0m"
cd server/ch2/core1
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH2, CORE2 ..\033[0m"
cd server/ch2/core2
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH2, CORE3 ..\033[0m"
cd server/ch2/core3
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH2, CORE4 ..\033[0m"
cd server/ch2/core4
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH2, CORE5 ..\033[0m"
cd server/ch2/core5
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte GAME99, CORE1 ..\033[0m"
cd server/game99/core1
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte GAME99, CORE2 ..\033[0m"
cd server/game99/core2
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
;;
3*)
echo -e "\033[31m Starte DB ..\033[0m"
cd server/db
./db -I $SERVER_IP &
sleep 2
cd ../..
clear
echo -e "\033[31m \n Starte AUTH ..\033[0m"
cd server/auth
./game -I $SERVER_IP &
sleep 2
cd ../..
clear
echo -e "\033[31m \n Starte CH1, CORE1 ..\033[0m"
cd server/ch1/core1
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH1, CORE2 ..\033[0m"
cd server/ch1/core2
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH1, CORE3 ..\033[0m"
cd server/ch1/core3
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH1, CORE4 ..\033[0m"
cd server/ch1/core4
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH1, CORE5 ..\033[0m"
cd server/ch1/core5
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH2, CORE1 ..\033[0m"
cd server/ch2/core1
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH2, CORE2 ..\033[0m"
cd server/ch2/core2
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH2, CORE3 ..\033[0m"
cd server/ch2/core3
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH2, CORE4 ..\033[0m"
cd server/ch2/core4
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH3, CORE1 ..\033[0m"
cd server/ch3/core1
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH3, CORE2 ..\033[0m"
cd server/ch3/core2
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH3, CORE3 ..\033[0m"
cd server/ch3/core3
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH3, CORE4 ..\033[0m"
cd server/ch3/core4
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH3, CORE5 ..\033[0m"
cd server/ch3/core5
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte GAME99, CORE1 ..\033[0m"
cd server/game99/core1
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte GAME99, CORE2 ..\033[0m"
cd server/game99/core2
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
;;
4*)
echo -e "\033[31m Starte DB ..\033[0m"
cd server/db
./db -I $SERVER_IP &
sleep 2
cd ../..
clear
echo -e "\033[31m \n Starte AUTH ..\033[0m"
cd server/auth
./game -I $SERVER_IP &
sleep 2
cd ../..
clear
echo -e "\033[31m \n Starte CH1, CORE1 ..\033[0m"
cd server/ch1/core1
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH1, CORE2 ..\033[0m"
cd server/ch1/core2
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH1, CORE3 ..\033[0m"
cd server/ch1/core3
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH1, CORE4 ..\033[0m"
cd server/ch1/core4
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH1, CORE5 ..\033[0m"
cd server/ch1/core5
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH2, CORE1 ..\033[0m"
cd server/ch2/core1
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH2, CORE2 ..\033[0m"
cd server/ch2/core2
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH2, CORE3 ..\033[0m"
cd server/ch2/core3
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH2, CORE4 ..\033[0m"
cd server/ch2/core4
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH2, CORE5 ..\033[0m"
cd server/ch2/core5
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH3, CORE1 ..\033[0m"
cd server/ch3/core1
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH3, CORE2 ..\033[0m"
cd server/ch3/core2
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH3, CORE3 ..\033[0m"
cd server/ch3/core3
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH3, CORE4 ..\033[0m"
cd server/ch3/core4
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH3, CORE5 ..\033[0m"
cd server/ch3/core5
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH4, CORE1 ..\033[0m"
cd server/ch4/core1
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH4, CORE2 ..\033[0m"
cd server/ch4/core2
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH4, CORE3 ..\033[0m"
cd server/ch4/core3
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH4, CORE4 ..\033[0m"
cd server/ch4/core4
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte CH4, CORE5 ..\033[0m"
cd server/ch4/core5
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte GAME99, CORE1 ..\033[0m"
cd server/game99/core1
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
echo -e "\033[31m \n Starte GAME99, CORE2 ..\033[0m"
cd server/game99/core2
./game -I $SERVER_IP &
sleep 2
cd ../../..
clear
;;
5*)
clear
echo -e "\033[32m \n Abbrechen\033[0m"
;;
esac