Email appears as "noname" attachment in Gmail accounts (and probably others but I did not test on):
Content-Type: application/octet-stream
Content-Transfer-Encoding: base64
So use cat -v as a workaround
See: http://ask.fclose.com/305/plain-pipelined-content-application-octet-stream-attachment
Also recommended to apply this fix to all other server scripts for consistency reasons.
Moved rootdir variable so that it's easier to define paths in fn_parms()
Fixed password parameter by adding double quotes - Error: Invalid command line (Expected value for option 'password')
Added double quotes to text type parameters - don't put quotes in the password variables or it'll break!
Added configpath variable to define where configs are loaded from (used to load from ~/.config/*, but now will load from ~/server1/*)
Added mods parameter; add mod ids delimited by space e.g. to use NS2+ and Shine: "812f004 706d242"
Added modstorage parameter; define a directory to store mods downloaded from Steam Workshop (used to load from ~/.config/Workshop/*, but now will load from ~/server1/Workshop/*)
* Fixed insserver. Now works on Debian and CentOS
* Added validate feature now 4 options update, update-restart,
validate, validate-restart
* Improved consistency of error messages thanks to wrelam
* Fixed bug with fn_logmanager
* Added steam_appid.txt file to fix an error where the server would
crash
* added 2nd query after delay on gsquery to prevent the script from
restarting during map change
* added +servercfgfile to start parameters to make multiple servers
easier. I will add more documentation on this soon.
Found x2 app 90 manifest files are required. I have created firstpass
and secondpass files. First pass downloads all manifest files . Then
second pass changes the manifest files to download the mod files
First pass app 90 downloads half life and cstrike files
Second pass app 90 downloads the mod files.