Basic shell script to check if metamod entry exist and if not add into gameinfo.gi automatically.
Default folder is set for using with a server using LinuxGSM.
- Download and upload gameinfo.sh to your Server.
- Run
sudo apt-get install dos2unix
, incase you don't already have it. - Run
chmod +x gameinfo.sh
to make the file executable if already isn't. - Run
./gameinfo.sh
. - Free win?
Issues
If you get an error with \r not being recognized, run dos2unix gameinfo.sh
.