#!/bin/bash cd /home/comp/ ./srcds_run -game csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_active +map de_dust2 -port 27050 -tickrate 128
Save this as e.g. /home/comp/runcs.sh and make it executable (on the command-line, you'd make it executable with chmod ugoa+x runcs.sh), then run crontab -e, and at the bottom add @reboot /home/comp/runcs.sh
Explanation: cron is a program that basically executes stuff at certain times, crontab -e allows you to add or remove things for it to run. @reboot tells cron to run the following command when the PC has finished booting up, so your CS-script will run then.