Daniel Gibbs
9168387277
os has become distroname
also added distroversion to identify the distro version number
9 years ago
Daniel Gibbs
1ba9372122
added physicaltotalmb
9 years ago
UltimateByte
05d68774de
typo
9 years ago
UltimateByte
c47626a82d
Added cached memory varible
Will cause no error if "cached:" doesn't exist
9 years ago
Daniel Gibbs
46941def99
function_selfname + fixes
9 years ago
Daniel Gibbs
60110fdc8c
colours are now variables
9 years ago
Daniel Gibbs
b32bb17ae4
functions_selfname is now just selfname
Also commented out any selfname that causes issues.
9 years ago
Daniel Gibbs
b8f44749a0
Ditched lgsm_version as not used
added
local modulename="Function"
local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
to all functions
9 years ago
Daniel Gibbs
58b3f6301e
Added LGSM total disk used and tidy up
9 years ago
Daniel Gibbs
bf03a08f06
Version 210516
9 years ago
Daniel Gibbs
34c34c48f8
supress du error
9 years ago
Daniel Gibbs
6c47f2b73c
changed glicv to glibcversion
9 years ago
Daniel Gibbs
65bc10074c
Changed http to https on LGSM links
9 years ago
Daniel Gibbs
841a65b2f7
moved functions to lgsm dir
9 years ago
Daniel Gibbs
5f290fd3b8
Updates all version numbers
9 years ago
Daniel Gibbs
f005da0fe8
Renamed all functions test required now
9 years ago
Daniel Gibbs
860126bf7d
Initial renaming
creating new branch to test renaming
9 years ago
Daniel Gibbs
2cd2f494f7
changes serverfiles to filesdir
names the var wrong. This is confusing calling the var filesdir. I may
changes this in the future.
9 years ago
Daniel Gibbs
2e3c4fe18f
Added missing quotes
9 years ago
Daniel Gibbs
39e963fb13
Change to function version to variable
9 years ago
Daniel Gibbs
97372c24ac
date corrected
10 years ago
Daniel Gibbs
053c62ef58
minor bug
10 years ago
Daniel Gibbs
1c036c0d74
Revert "Altered as per https://github.com/koalaman/shellcheck/wiki/SC2060 "
This reverts commit 6a34713e1c
.
10 years ago
Daniel Gibbs
6a34713e1c
Altered as per https://github.com/koalaman/shellcheck/wiki/SC2060
10 years ago
Donal Cahill
4d3fd6e1b3
Fixed parsing uptime when it has no decimal point
10 years ago
Daniel Gibbs
c4e05125eb
Added more info about storage
Made more details available on storage. such as filesystem total
storage used and available.
10 years ago
Daniel Gibbs
0d87b423de
Merge went wrong. Fixed issue code.
10 years ago
Daniel Gibbs
bcad424b78
danielgibbs.co.uk to gameservermanager.com
10 years ago
Ilija Matoski
8a714b00cb
$(tmux -V|sed "s/tmux //"|sed -n '1 p'|tr -cd '[:digit:]')
doesn't work on some version of bash unless [:digit:] is enclosed in qoutes
10 years ago
Daniel Gibbs
29d80e88ce
Removed tail -c 3. caused issues in Slackware
10 years ago
Daniel Gibbs
3a93b739f2
Corrected code to check if command exists
10 years ago
Daniel Gibbs
b9725724b0
lsb_release command now detected
changed so lsb_release command is detected rather than the
/etc/lsb-release file
10 years ago
Daniel Gibbs
ac8cfe6286
fixed command substitution: line 55
10 years ago
Daniel Gibbs
c7b20905eb
Updated dates
10 years ago
Poil
b3bd56a2ad
Optim
10 years ago
Daniel Gibbs
c912c4d2bd
Major rename of functions
* All functions names have been reviewed and renamed to make it easier
to identify what the function is for. This is for my benefit as there
are now over 50 functions to manage.
* New details feature. It has been reworked to add more useful info and
fix any bugs with details not always being displayed.
* Main script file e.g csgoserver should no longer require any updates
from this point. All code modifications should be made from the
functions. Any future edits would relate to server specific config.
* servername variable has been moved to its own function if name is
gathered from a config file. The same applies for ports, usernames and
passwords.
* new function fn_details_distro gathers all the required OS info for
fn_details and other functions that require this info
* Various improvements and bug fixes that I cannot remember.
10 years ago
Daniel Gibbs
98e7f20eca
Added tmux not found option
10 years ago
Daniel Gibbs
6fbf4fd765
Fixed issue with CentOS not supporting free -h
10 years ago
Daniel Gibbs
09c97be831
Added new function fn_distrodetails
fn_distrodetails to replace 3 functions and provide more in depth info
for fn_details and other functions that require distro and game server
info.
fn_load, fn_uptime and fn_distro are being depricated
10 years ago