putty :
start.sh
Code:
#!/bin/sh echo -e "\033[32m 1 - (1) CH1 \n 2 - (2) CH2 \n 3 - (3) CH3 \n 4 - (4) CH4 \n 5 - (5) CH5 \n 6 - (6) CH6 \n 7 - (7) CH7 \n 8 - (8) CH8 \n 9 - (9) Anuleaza! \033[0m" read chs case $chs in 1*) echo -e "\033[31m PORNESC BAZA DE DATE ..\033[0m" cd /usr/home/game/channels/data/db/ ./db & sleep 2 clear echo -e "\033[31m \n PORNESC LOGINU ..\033[0m" cd /usr/home/game/channels/data/auth/ ./auth & sleep 2 clear echo -e "\033[31m \n PORNESC CHANNEL1_3CORE ..\033[0m" cd /usr/home/game/channels/channel1/core1/ ./core1 -I 5.1.80.174 -P 31000 & sleep 2 cd /usr/home/game/channels/channel1/core2/ ./core2 -I 5.1.80.174 -P 31000 & sleep 2 cd /usr/home/game/channels/channel1/core3/ ./core3 -I 5.1.80.174 -P 31000 & sleep 2 clear echo -e "\033[31m \n PORNESC CHANNEL99_1CORE ..\033[0m" cd /usr/home/game/channels/channel99/core1/ ./core1 -I 5.1.80.174 -P 39000 & sleep 2 #cd /usr/home/game/channels/data/auth && sh auth.sh & clear ;; 2*) echo -e "\033[31m PORNESC BAZA DE DATE ..\033[0m" cd /usr/home/game/channels/data/db/ ./db & sleep 2 clear echo -e "\033[31m \n PORNESC LOGINU ..\033[0m" cd /usr/home/game/channels/data/auth/ ./auth & sleep 2 clear echo -e "\033[31m \n PORNESC CHANNEL1_3CORE ..\033[0m" cd /usr/home/game/channels/channel1/core1/ ./core1 -I 5.1.80.174 -P 31000 & sleep 2 cd /usr/home/game/channels/channel1/core2/ ./core2 -I 5.1.80.174 -P 31000 & sleep 2 cd /usr/home/game/channels/channel1/core3/ ./core3 -I 5.1.80.174 -P 31000 & sleep 2 echo -e "\033[31m \n PORNESC CHANNEL2_3CORE...\033[0m" cd /usr/home/game/channels/channel2/core1/ ./core1 -I 5.1.80.174 -P 32000 & sleep 2 cd /usr/home/game/channels/channel2/core2/ ./core2 -I 5.1.80.174 -P 32000 & sleep 2 cd /usr/home/game/channels/channel2/core3/ ./core3 -I 5.1.80.174 -P 32000 & sleep 2 clear echo -e "\033[31m \n PORNESC CHANNEL99_1CORE ..\033[0m" cd /usr/home/game/channels/channel99/core1/ ./core1 -I 5.1.80.174 -P 39000 & sleep 2 #cd /usr/home/game/channels/data/auth && sh auth.sh & clear ;; 3*) echo -e "\033[31m PORNESC BAZA DE DATE ..\033[0m" cd /usr/home/game/channels/data/db/ ./db & sleep 2 clear echo -e "\033[31m \n PORNESC LOGINU ..\033[0m" cd /usr/home/game/channels/data/auth/ ./auth & sleep 2 clear echo -e "\033[31m \n PORNESC CHANNEL1_3CORE ..\033[0m" cd /usr/home/game/channels/channel1/core1/ ./core1 -I 5.1.80.174 -P 31000 & sleep 2 cd /usr/home/game/channels/channel1/core2/ ./core2 -I 5.1.80.174 -P 31000 & sleep 2 cd /usr/home/game/channels/channel1/core3/ ./core3 -I 5.1.80.174 -P 31000 & sleep 2 echo -e "\033[31m \n PORNESC CHANNEL2_3CORE...\033[0m" cd /usr/home/game/channels/channel2/core1/ ./core1 -I 5.1.80.174 -P 32000 & sleep 2 cd /usr/home/game/channels/channel2/core2/ ./core2 -I 5.1.80.174 -P 32000 & sleep 2 cd /usr/home/game/channels/channel2/core3/ ./core3 -I 5.1.80.174 -P 32000 & sleep 2 echo -e "\033[31m \n PORNESC CHANNEL3_3CORE...\033[0m" cd /usr/home/game/channels/channel3/core1/ ./core1 -I 5.1.80.174 -P 33000 & sleep 2 cd /usr/home/game/channels/channel3/core2/ ./core2 -I 5.1.80.174 -P 33000 & sleep 2 cd /usr/home/game/channels/channel3/core3/ ./core3 -I 5.1.80.174 -P 33000 & sleep 2 clear echo -e "\033[31m \n PORNESC CHANNEL99_1CORE ..\033[0m" cd /usr/home/game/channels/channel99/core1/ ./core1 -I 5.1.80.174 -P 39000 & sleep 2 #cd /usr/home/game/channels/data/auth && sh auth.sh & clear ;; 4*) echo -e "\033[31m PORNESC BAZA DE DATE ..\033[0m" cd /usr/home/game/channels/data/db/ ./db & sleep 2 clear echo -e "\033[31m \n PORNESC LOGINU ..\033[0m" cd /usr/home/game/channels/data/auth/ ./auth & sleep 2 clear echo -e "\033[31m \n PORNESC CHANNEL1_3CORE ..\033[0m" cd /usr/home/game/channels/channel1/core1/ ./core1 -I 5.1.80.174 -P 31000 & sleep 2 cd /usr/home/game/channels/channel1/core2/ ./core2 -I 5.1.80.174 -P 31000 & sleep 2 cd /usr/home/game/channels/channel1/core3/ ./core3 -I 5.1.80.174 -P 31000 & sleep 2 echo -e "\033[31m \n PORNESC CHANNEL2_3CORE...\033[0m" cd /usr/home/game/channels/channel2/core1/ ./core1 -I 5.1.80.174 -P 32000 & sleep 2 cd /usr/home/game/channels/channel2/core2/ ./core2 -I 5.1.80.174 -P 32000 & sleep 2 cd /usr/home/game/channels/channel2/core3/ ./core3 -I 5.1.80.174 -P 32000 & sleep 2 echo -e "\033[31m \n PORNESC CHANNEL3_3CORE...\033[0m" cd /usr/home/game/channels/channel3/core1/ ./core1 -I 5.1.80.174 -P 33000 & sleep 2 cd /usr/home/game/channels/channel3/core2/ ./core2 -I 5.1.80.174 -P 33000 & sleep 2 cd /usr/home/game/channels/channel3/core3/ ./core3 -I 5.1.80.174 -P 33000 & sleep 2 echo -e "\033[31m \n PORNESC CHANNEL4_3CORE...\033[0m" cd /usr/home/game/channels/channel4/core1/ ./core1 -I 5.1.80.174 -P 34000 & sleep 2 cd /usr/home/game/channels/channel4/core2/ ./core2 -I 5.1.80.174 -P 34000 & sleep 2 cd /usr/home/game/channels/channel4/core3/ ./core3 -I 5.1.80.174 -P 34000 & sleep 2 clear echo -e "\033[31m \n PORNESC CHANNEL99_1CORE ..\033[0m" cd /usr/home/game/channels/channel99/core1/ ./core1 -I 5.1.80.174 -P 39000 & sleep 2 #cd /usr/home/game/channels/data/auth && sh auth.sh & clear ;; 5*) echo -e "\033[31m PORNESC BAZA DE DATE ..\033[0m" cd /usr/home/game/channels/data/db/ ./db & sleep 2 clear echo -e "\033[31m \n PORNESC LOGINU ..\033[0m" cd /usr/home/game/channels/data/auth/ ./auth & sleep 2 clear echo -e "\033[31m \n PORNESC CHANNEL1_3CORE ..\033[0m" cd /usr/home/game/channels/channel1/core1/ ./core1 -I 5.1.80.174 -P 31000 & sleep 2 cd /usr/home/game/channels/channel1/core2/ ./core2 -I 5.1.80.174 -P 31000 & sleep 2 cd /usr/home/game/channels/channel1/core3/ ./core3 -I 5.1.80.174 -P 31000 & sleep 2 echo -e "\033[31m \n PORNESC CHANNEL2_3CORE...\033[0m" cd /usr/home/game/channels/channel2/core1/ ./core1 -I 5.1.80.174 -P 32000 & sleep 2 cd /usr/home/game/channels/channel2/core2/ ./core2 -I 5.1.80.174 -P 32000 & sleep 2 cd /usr/home/game/channels/channel2/core3/ ./core3 -I 5.1.80.174 -P 32000 & sleep 2 echo -e "\033[31m \n PORNESC CHANNEL3_3CORE...\033[0m" cd /usr/home/game/channels/channel3/core1/ ./core1 -I 5.1.80.174 -P 33000 & sleep 2 cd /usr/home/game/channels/channel3/core2/ ./core2 -I 5.1.80.174 -P 33000 & sleep 2 cd /usr/home/game/channels/channel3/core3/ ./core3 -I 5.1.80.174 -P 33000 & sleep 2 echo -e "\033[31m \n PORNESC CHANNEL4_3CORE...\033[0m" cd /usr/home/game/channels/channel4/core1/ ./core1 -I 5.1.80.174 -P 34000 & sleep 2 cd /usr/home/game/channels/channel4/core2/ ./core2 -I 5.1.80.174 -P 34000 & sleep 2 cd /usr/home/game/channels/channel4/core3/ ./core3 -I 5.1.80.174 -P 34000 & sleep 2 clear echo -e "\033[31m \n PORNESC CHANNEL5_3CORE...\033[0m" cd /usr/home/game/channels/channel5/core1/ ./core1 -I 5.1.80.174 -P 35000 & sleep 2 cd /usr/home/game/channels/channel5/core2/ ./core2 -I 5.1.80.174 -P 35000 & sleep 2 cd /usr/home/game/channels/channel5/core3/ ./core3 -I 5.1.80.174 -P 35000 & sleep 2 clear echo -e "\033[31m \n PORNESC CHANNEL99_1CORE ..\033[0m" cd /usr/home/game/channels/channel99/core1/ ./core1 -I 5.1.80.174 -P 39000 & sleep 2 #cd /usr/home/game/channels/data/auth && sh auth.sh & clear ;; 6*) echo -e "\033[31m PORNESC BAZA DE DATE ..\033[0m" cd /usr/home/game/channels/data/db/ ./db & sleep 2 clear echo -e "\033[31m \n PORNESC LOGINU ..\033[0m" cd /usr/home/game/channels/data/auth/ ./auth & sleep 2 clear echo -e "\033[31m \n PORNESC CHANNEL1_3CORE ..\033[0m" cd /usr/home/game/channels/channel1/core1/ ./core1 -I 5.1.80.174 -P 31000 & sleep 2 cd /usr/home/game/channels/channel1/core2/ ./core2 -I 5.1.80.174 -P 31000 & sleep 2 cd /usr/home/game/channels/channel1/core3/ ./core3 -I 5.1.80.174 -P 31000 & sleep 2 echo -e "\033[31m \n PORNESC CHANNEL2_3CORE...\033[0m" cd /usr/home/game/channels/channel2/core1/ ./core1 -I 5.1.80.174 -P 32000 & sleep 2 cd /usr/home/game/channels/channel2/core2/ ./core2 -I 5.1.80.174 -P 32000 & sleep 2 cd /usr/home/game/channels/channel2/core3/ ./core3 -I 5.1.80.174 -P 32000 & sleep 2 echo -e "\033[31m \n PORNESC CHANNEL3_3CORE...\033[0m" cd /usr/home/game/channels/channel3/core1/ ./core1 -I 5.1.80.174 -P 33000 & sleep 2 cd /usr/home/game/channels/channel3/core2/ ./core2 -I 5.1.80.174 -P 33000 & sleep 2 cd /usr/home/game/channels/channel3/core3/ ./core3 -I 5.1.80.174 -P 33000 & sleep 2 echo -e "\033[31m \n PORNESC CHANNEL4_3CORE...\033[0m" cd /usr/home/game/channels/channel4/core1/ ./core1 -I 5.1.80.174 -P 34000 & sleep 2 cd /usr/home/game/channels/channel4/core2/ ./core2 -I 5.1.80.174 -P 34000 & sleep 2 cd /usr/home/game/channels/channel4/core3/ ./core3 -I 5.1.80.174 -P 34000 & sleep 2 clear echo -e "\033[31m \n PORNESC CHANNEL5_3CORE...\033[0m" cd /usr/home/game/channels/channel5/core1/ ./core1 -I 5.1.80.174 -P 35000 & sleep 2 cd /usr/home/game/channels/channel5/core2/ ./core2 -I 5.1.80.174 -P 35000 & sleep 2 cd /usr/home/game/channels/channel5/core3/ ./core3 -I 5.1.80.174 -P 35000 & sleep 2 clear echo -e "\033[31m \n PORNESC CHANNEL6_3CORE...\033[0m" cd /usr/home/game/channels/channel6/core1/ ./core1 -I 5.1.80.174 -P 36000 & sleep 2 cd /usr/home/game/channels/channel6/core2/ ./core2 -I 5.1.80.174 -P 36000 & sleep 2 cd /usr/home/game/channels/channel6/core3/ ./core3 -I 5.1.80.174 -P 36000 & sleep 2 clear echo -e "\033[31m \n PORNESC CHANNEL99_1CORE ..\033[0m" cd /usr/home/game/channels/channel99/core1/ ./core1 -I 5.1.80.174 -P 39000 & sleep 2 #cd /usr/home/game/channels/data/auth && sh auth.sh & clear ;; 7*) echo -e "\033[31m PORNESC BAZA DE DATE ..\033[0m" cd /usr/home/game/channels/data/db/ ./db & sleep 2 clear echo -e "\033[31m \n PORNESC LOGINU ..\033[0m" cd /usr/home/game/channels/data/auth/ ./auth & sleep 2 clear echo -e "\033[31m \n PORNESC CHANNEL1_3CORE ..\033[0m" cd /usr/home/game/channels/channel1/core1/ ./core1 -I 5.1.80.174 -P 31000 & sleep 2 cd /usr/home/game/channels/channel1/core2/ ./core2 -I 5.1.80.174 -P 31000 & sleep 2 cd /usr/home/game/channels/channel1/core3/ ./core3 -I 5.1.80.174 -P 31000 & sleep 2 echo -e "\033[31m \n PORNESC CHANNEL2_3CORE...\033[0m" cd /usr/home/game/channels/channel2/core1/ ./core1 -I 5.1.80.174 -P 32000 & sleep 2 cd /usr/home/game/channels/channel2/core2/ ./core2 -I 5.1.80.174 -P 32000 & sleep 2 cd /usr/home/game/channels/channel2/core3/ ./core3 -I 5.1.80.174 -P 32000 & sleep 2 echo -e "\033[31m \n PORNESC CHANNEL3_3CORE...\033[0m" cd /usr/home/game/channels/channel3/core1/ ./core1 -I 5.1.80.174 -P 33000 & sleep 2 cd /usr/home/game/channels/channel3/core2/ ./core2 -I 5.1.80.174 -P 33000 & sleep 2 cd /usr/home/game/channels/channel3/core3/ ./core3 -I 5.1.80.174 -P 33000 & sleep 2 echo -e "\033[31m \n PORNESC CHANNEL4_3CORE...\033[0m" cd /usr/home/game/channels/channel4/core1/ ./core1 -I 5.1.80.174 -P 34000 & sleep 2 cd /usr/home/game/channels/channel4/core2/ ./core2 -I 5.1.80.174 -P 34000 & sleep 2 cd /usr/home/game/channels/channel4/core3/ ./core3 -I 5.1.80.174 -P 34000 & sleep 2 clear echo -e "\033[31m \n PORNESC CHANNEL5_3CORE...\033[0m" cd /usr/home/game/channels/channel5/core1/ ./core1 -I 5.1.80.174 -P 35000 & sleep 2 cd /usr/home/game/channels/channel5/core2/ ./core2 -I 5.1.80.174 -P 35000 & sleep 2 cd /usr/home/game/channels/channel5/core3/ ./core3 -I 5.1.80.174 -P 35000 & sleep 2 clear echo -e "\033[31m \n PORNESC CHANNEL6_3CORE...\033[0m" cd /usr/home/game/channels/channel6/core1/ ./core1 -I 5.1.80.174 -P 36000 & sleep 2 cd /usr/home/game/channels/channel6/core2/ ./core2 -I 5.1.80.174 -P 36000 & sleep 2 cd /usr/home/game/channels/channel6/core3/ ./core3 -I 5.1.80.174 -P 36000 & sleep 2 clear echo -e "\033[31m \n PORNESC CHANNEL7_3CORE...\033[0m" cd /usr/home/game/channels/channel7/core1/ ./core1 -I 5.1.80.174 -P 37000 & sleep 2 cd /usr/home/game/channels/channel7/core2/ ./core2 -I 5.1.80.174 -P 37000 & sleep 2 cd /usr/home/game/channels/channel7/core3/ ./core3 -I 5.1.80.174 -P 37000 & sleep 2 clear echo -e "\033[31m \n PORNESC CHANNEL99_1CORE ..\033[0m" cd /usr/home/game/channels/channel99/core1/ ./core1 -I 5.1.80.174 -P 39000 & sleep 2 #cd /usr/home/game/channels/data/auth && sh auth.sh & clear ;; 8*) echo -e "\033[31m PORNESC BAZA DE DATE ..\033[0m" cd /usr/home/game/channels/data/db/ ./db & sleep 2 clear echo -e "\033[31m \n PORNESC LOGINU ..\033[0m" cd /usr/home/game/channels/data/auth/ ./auth & sleep 2 clear echo -e "\033[31m \n PORNESC CHANNEL1_3CORE ..\033[0m" cd /usr/home/game/channels/channel1/core1/ ./core1 -I 5.1.80.174 -P 31000 & sleep 2 cd /usr/home/game/channels/channel1/core2/ ./core2 -I 5.1.80.174 -P 31000 & sleep 2 cd /usr/home/game/channels/channel1/core3/ ./core3 -I 5.1.80.174 -P 31000 & sleep 2 echo -e "\033[31m \n PORNESC CHANNEL2_3CORE...\033[0m" cd /usr/home/game/channels/channel2/core1/ ./core1 -I 5.1.80.174 -P 32000 & sleep 2 cd /usr/home/game/channels/channel2/core2/ ./core2 -I 5.1.80.174 -P 32000 & sleep 2 cd /usr/home/game/channels/channel2/core3/ ./core3 -I 5.1.80.174 -P 32000 & sleep 2 echo -e "\033[31m \n PORNESC CHANNEL3_3CORE...\033[0m" cd /usr/home/game/channels/channel3/core1/ ./core1 -I 5.1.80.174 -P 33000 & sleep 2 cd /usr/home/game/channels/channel3/core2/ ./core2 -I 5.1.80.174 -P 33000 & sleep 2 cd /usr/home/game/channels/channel3/core3/ ./core3 -I 5.1.80.174 -P 33000 & sleep 2 echo -e "\033[31m \n PORNESC CHANNEL4_3CORE...\033[0m" cd /usr/home/game/channels/channel4/core1/ ./core1 -I 5.1.80.174 -P 34000 & sleep 2 cd /usr/home/game/channels/channel4/core2/ ./core2 -I 5.1.80.174 -P 34000 & sleep 2 cd /usr/home/game/channels/channel4/core3/ ./core3 -I 5.1.80.174 -P 34000 & sleep 2 clear echo -e "\033[31m \n PORNESC CHANNEL5_3CORE...\033[0m" cd /usr/home/game/channels/channel5/core1/ ./core1 -I 5.1.80.174 -P 35000 & sleep 2 cd /usr/home/game/channels/channel5/core2/ ./core2 -I 5.1.80.174 -P 35000 & sleep 2 cd /usr/home/game/channels/channel5/core3/ ./core3 -I 5.1.80.174 -P 35000 & sleep 2 clear echo -e "\033[31m \n PORNESC CHANNEL6_3CORE...\033[0m" cd /usr/home/game/channels/channel6/core1/ ./core1 -I 5.1.80.174 -P 36000 & sleep 2 cd /usr/home/game/channels/channel6/core2/ ./core2 -I 5.1.80.174 -P 36000 & sleep 2 cd /usr/home/game/channels/channel6/core3/ ./core3 -I 5.1.80.174 -P 36000 & sleep 2 clear echo -e "\033[31m \n PORNESC CHANNEL7_3CORE...\033[0m" cd /usr/home/game/channels/channel7/core1/ ./core1 -I 5.1.80.174 -P 37000 & sleep 2 cd /usr/home/game/channels/channel7/core2/ ./core2 -I 5.1.80.174 -P 37000 & sleep 2 cd /usr/home/game/channels/channel7/core3/ ./core3 -I 5.1.80.174 -P 37000 & sleep 2 clear echo -e "\033[31m \n PORNESC CHANNEL8_3CORE...\033[0m" cd /usr/home/game/channels/channel8/core1/ ./core1 -I 5.1.80.174 -P 38000 & sleep 2 cd /usr/home/game/channels/channel8/core2/ ./core2 -I 5.1.80.174 -P 38000 & sleep 2 cd /usr/home/game/channels/channel8/core3/ ./core3 -I 5.1.80.174 -P 38000 & sleep 2 clear echo -e "\033[31m \n PORNESC CHANNEL99_1CORE ..\033[0m" cd /usr/home/game/channels/channel99/core1/ ./core1 -I 5.1.80.174 -P 39000 & sleep 2 #cd /usr/home/game/channels/data/auth && sh auth.sh & clear ;; 9*) clear echo -e "\033[32m \n Actiune Anulata!\033[0m" ;; esac
hoffe ihr könnt mir weiterhelfen
mfg






