root@a141:/usr/hlds# ./start
./start: line 2: screen: command not found
./start: line 6: screen: command not found
./start: line 8: screen: command not found
dariau viska pagal pamoka, nenori pasileisti.

Code: Select all
apt-get updateapt-get install screen
Code: Select all
root@a141:~# cd /usr/hldsroot@a141:/usr/hlds# vim startelse cd /usr/hlds && screen -A -m -d -S hlds ./hlds_run -game cstrike +ip xx.xx.xx.xx +port 27015 +map De-dust2 +maxplayers 32 sleep 1 screen -dr hldsfiexit~~~~~~~~~~~~E353: Nothing in register "
perziurejau atrodo cia nk nesugadines, bet nenori uzsikurt...#!/bin/bash
SESSION=$(screen -ls | egrep -o -e [0-9]+\.hlds | sed -r -e "s/[0-9]+\.//")
if [ "$SESSION" == "hlds" ]; then
screen -dr hlds
else
cd /usr/hlds && screen -A -m -d -S hlds ./hlds_run -game cstrike +ip xx.xx.xxx.xxx +port 27015 +map de_dust2 +maxplayers 32
sleep 1
screen -dr hlds
fi
exit
Code: Select all
Sutriko komanda '"./start"'su grįžties kodu 127 ir klaidos pranešimu./start: line 2: screen: command not found./start: line 6: screen: command not found./start: line 8: screen: command not found.
Users browsing this forum: No registered users and 2 guests