sudo add-apt-repository multiverse
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install lib32gcc1 steamcmd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Connect to an RCON client listening on the port specified by RCON_PORT | |
RCON_DIR=~/rcon/ | |
RCON_CONFIG_FILE=~/rcon/rcon.yaml | |
export RCON_PORT=27015 | |
export PATH=$RCON_DIR:$PATH | |
echo "Waiting for RCON server on port ${RCON_PORT} to open..." | |
timeout 300 bash -c 'until echo > /dev/tcp/localhost/"${RCON_PORT}"; do sleep 0.5; done' 2>/dev/null |
OlderNewer