Cod: Selectaţi tot
root@metin70:/usr/home/game # sh start.sh
start.sh: w#!/bin/sh: not found
Cate canale vrei sa pornesti ?
1 - Toate canalele?
by Body.
1
Pornesc baza de date ..
start.sh: ./db: not found
start.sh: ./auth: not found
Baza de date a pornit.
Pornesc Channel 1 Core 1 ..
env: ./gamecore1: No such file or directory
Channel 1 Core 1 a pornit.
Pornesc Ch99 ..
env: ./gamecore99: No such file or directory
Server pornit cu succes.
Creat de Body.
root@metin70:/usr/home/game #
Cod: Selectaţi tot
w#!/bin/sh
echo -e "\033[32m
Cate canale vrei sa pornesti ? \n
1 - Toate canalele?
by Body."
read anzahl
case $anzahl in
1*)
echo -e "\033[32m Pornesc baza de date ..\033[33m"
cd /usr/home/game/db && ./db &
sleep 2
cd /usr/home/game/auth && ./auth &
sleep 2
echo -e "\033[32m Baza de date a pornit.\033[33m"
echo -e "\033[32m Pornesc Channel 1 Core 1 ..\033[33m"
cd /usr/home/game/channel1/core1
env LD_PRELOAD="/usr/home/game/costumesystem/Costume.so" ./gamecore1 &
sleep 2
echo -e "\033[32m Channel 1 Core 1 a pornit.\033[33m"
echo -e "\033[32m Pornesc Ch99 ..\033[33m"
cd /usr/home/game/game99
env LD_PRELOAD="/usr/home/game/costumesystem/Costume.so" ./gamecore99 &
sleep 2
echo -e "\033[32m Server pornit cu succes.\n
\n
Creat de Body.\033[33m"
cd ..
;;
esac







