Daniel Gibbs
3 years ago
No known key found for this signature in database
GPG Key ID: 7CA38B43F78F12FE
1 changed files with
1 additions and
1 deletions
-
lgsm/functions/install_config.sh
|
|
@ -64,7 +64,7 @@ fn_default_config_local() { |
|
|
|
# PASSWORD to random password |
|
|
|
fn_set_config_vars() { |
|
|
|
if [ -f "${servercfgfullpath}" ]; then |
|
|
|
random=$(tr -dc A-Za-z0-9_ < /dev/urandom | head -c 8 | xargs) |
|
|
|
random=$(echo $RANDOM | md5sum | head -c 8) |
|
|
|
servername="LinuxGSM" |
|
|
|
rconpass="admin${random}" |
|
|
|
echo -e "changing hostname." |
|
|
|