Salutare lume am si eu o cerere la voi care imi poate face acest sh care deschide doar un CH sa deschida 2 CH-uri?
Link: https://mega.nz/#!9OAS0YyR!y0gEMgorLDX9 ... 2JaIlMUcNI
Cerere sh start.sh
- Hades ✔
-

- Mesaje: 3363
- Membru din: 22 Aug 2016, 18:35
- Server: Hades World
- Aprecieri: 104
- Mulţumiri: 824
- Discord: Copiază ID
- Contact:
#!/bin/sh echo -e "\033[32m Zentaro2 - Ce canal doriți să deschideți? \033[0m" echo -e "\033[32m 1 - (1) 1 CH \n 1 - (1) 2 CH \n 3 - (2) Anulează Acțiunea! \033[0m" read chs case $chs in 1*) echo -e "\033[31m Starting DB ..\033[0m" cd /usr/home/game/server/db ./db & sleep 5 clear echo -e "\033[31m \n Starting AUTH ..\033[0m" cd /usr/home/game/server/auth ./game & sleep 5 clear echo -e "\033[31m \n Starting CH1, CORE1 ..\033[0m" cd /usr/home/game/server/ch1/core1 ./game & sleep 5 clear echo -e "\033[31m \n Starting GAME99, CORE1 ..\033[0m" cd /usr/home/game/server/game99/core1 ./game & sleep 5 clear ;; 2*) echo -e "\033[31m Starting DB ..\033[0m" cd /usr/home/game/server/db ./db & sleep 5 clear echo -e "\033[31m \n Starting AUTH ..\033[0m" cd /usr/home/game/server/auth ./game & sleep 5 clear echo -e "\033[31m \n Starting CH1, CORE1 ..\033[0m" cd /usr/home/game/server/ch1/core1 ./game & sleep 5 clear echo -e "\033[31m \n Starting CH1, CORE1 ..\033[0m" cd /usr/home/game/server/ch2/core2 ./game & sleep 5 clear echo -e "\033[31m \n Starting GAME99, CORE1 ..\033[0m" cd /usr/home/game/server/game99/core1 ./game & sleep 5 clear ;; 3*) clear echo -e "\033[32m \n ORIGINS - Acțiune Anulată!\033[0m" ;; esac
Cod: Selectaţi tot
#!/bin/sh
echo -e "\033[32m Zentaro2 - Ce canal doriți să deschideți? \033[0m"
echo -e "\033[32m
1 - (1) 1 CH \n
1 - (1) 2 CH \n
2 - (2) Anulează Acțiunea! \033[0m"
read chs
case $chs in
1*)
echo -e "\033[31m Starting DB ..\033[0m"
cd /usr/home/game/server/db
./db &
sleep 5
clear
echo -e "\033[31m \n Starting AUTH ..\033[0m"
cd /usr/home/game/server/auth
./game &
sleep 5
clear
echo -e "\033[31m \n Starting CH1, CORE1 ..\033[0m"
cd /usr/home/game/server/ch1/core1
./game &
sleep 5
clear
echo -e "\033[31m \n Starting GAME99, CORE1 ..\033[0m"
cd /usr/home/game/server/game99/core1
./game &
sleep 5
clear
;;
2*)
echo -e "\033[31m Starting DB ..\033[0m"
cd /usr/home/game/server/db
./db &
sleep 5
clear
echo -e "\033[31m \n Starting AUTH ..\033[0m"
cd /usr/home/game/server/auth
./game &
sleep 5
clear
echo -e "\033[31m \n Starting CH1, CORE1 ..\033[0m"
cd /usr/home/game/server/ch1/core1
./game &
sleep 5
clear
echo -e "\033[31m \n Starting CH2, CORE1 ..\033[0m"
cd /usr/home/game/server/ch2/core1
./game &
sleep 5
clear
echo -e "\033[31m \n Starting GAME99, CORE1 ..\033[0m"
cd /usr/home/game/server/game99/core1
./game &
sleep 5
clear
3*)
clear
echo -e "\033[32m \n ORIGINS - Acțiune Anulată!\033[0m"
;;
esac
Răspunsuri
3 Vizualizări
514
3 Vizualizări
514
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: cosminusi93ksm și 42 vizitatori

