Может кто-нибудь помочь мне сделать скрипт для многоэкранной команды при запуске
вот что это
cd /home/bhop1/serverfiles
screen ./srcds_run -console -game cstrike -tickrate 100 -pingboost 2 +map bhop_eazy -maxplayers 32 -port 27015
cd /home/mg/serverfiles
screen ./srcds_run -console -game cstrike -tickrate 100 -pingboost 2 +map mg_100traps_v3 -maxplayers 32 -port 27016
screen ./srcds_run -console -game cstrike -pingboost 2 +map de_dust2 -maxplayers 32 -port 27017
cd /home/caln3/serverfiles
screen ./srcds_run -console -game cstrike -pingboost 2 +map de_dust2 -maxplayers 32 -port 27018
cd /home/clan1/serverfiles
screen ./srcds_run -console -game cstrike -pingboost 2 +map de_dust2 -maxplayers 32 -port 27019
cd /home/clan2/serverfiles
screen ./srcds_run -console -game cstrike -pingboost 2 +map ze_minecraft_v1 -maxplayers 32 -port 27020
cd /home/ze/serverfiles
screen ./srcds_run -console -game cstrike -pingboost 2 +map zm_cbble_b4_5 -maxplayers 32 -port 27021
cd /home/zm/serverfiles
-Спасибо
что-то не так?
# !/bin/bash
alias cdproj="cd /home/bhop1/serverfiles"
screen -dmS bhop ./srcds_run -console -game cstrike -tickrate 100 -pingboost 2 +map bhop_eazy -maxplayers 32 -port 27015
alias cdproj="cd /home/mg/serverfiles"
screen -dmS MG ./srcds_run -console -game cstrike -tickrate 100 -pingboost 2 +map mg_100traps_v3 -maxplayers 32 -port 27016
alias cdproj="cd /home/caln3/serverfiles"
screen -dmS clan1 ./srcds_run -console -game cstrike -pingboost 2 +map de_dust2 -maxplayers 32 -port 27017
alias cdproj="cd /home/clan1/serverfiles"
screen -dmS clan2 ./srcds_run -console -game cstrike -pingboost 2 +map de_dust2 -maxplayers 32 -port 27018
alias cdproj="cd /home/clan2/serverfiles"
screen -dmS clan3 ./srcds_run -console -game cstrike -pingboost 2 +map de_dust2 -maxplayers 32 -port 27019
alias cdproj="cd /home/ze/serverfiles"
screen -dmS ZE ./srcds_run -console -game cstrike -pingboost 2 +map ze_minecraft_v1_1 -maxplayers 32 -port 27020
alias cdproj="cd /home/zm/serverfiles"
screen -dmS -ZM ./srcds_run -console -game cstrike -pingboost 2 +map zm_cbble_b4_5 -maxplayers 32 -port 27021