Skip to content
Permalink
Browse files

feat(core): convert ${curlpath} to using curl and improve code standa…

…rds (#2616)
  • Loading branch information
dgibbs64 committed Nov 25, 2019
1 parent 06554cb commit 835fdee88eeab6ce003fe0ee52c6ac644a18c980
Showing with 382 additions and 402 deletions.
  1. +3 −3 lgsm/functions/alert_discord.sh
  2. +1 −1 lgsm/functions/alert_email.sh
  3. +2 −2 lgsm/functions/alert_ifttt.sh
  4. +2 −2 lgsm/functions/alert_mailgun.sh
  5. +2 −2 lgsm/functions/alert_pushbullet.sh
  6. +2 −2 lgsm/functions/alert_pushover.sh
  7. +1 −1 lgsm/functions/alert_slack.sh
  8. +2 −2 lgsm/functions/alert_telegram.sh
  9. +1 −1 lgsm/functions/check_config.sh
  10. +4 −4 lgsm/functions/check_deps.sh
  11. +1 −1 lgsm/functions/check_executable.sh
  12. +1 −1 lgsm/functions/check_logs.sh
  13. +5 −6 lgsm/functions/check_permissions.sh
  14. +1 −1 lgsm/functions/check_root.sh
  15. +1 −1 lgsm/functions/check_status.sh
  16. +1 −1 lgsm/functions/check_system_dir.sh
  17. +1 −1 lgsm/functions/check_system_requirements.sh
  18. +1 −1 lgsm/functions/command_backup.sh
  19. +1 −1 lgsm/functions/command_console.sh
  20. +1 −1 lgsm/functions/command_debug.sh
  21. +1 −1 lgsm/functions/command_details.sh
  22. +1 −1 lgsm/functions/command_dev_debug.sh
  23. +3 −3 lgsm/functions/command_dev_detect_deps.sh
  24. +2 −2 lgsm/functions/command_dev_detect_glibc.sh
  25. +2 −2 lgsm/functions/command_dev_detect_ldd.sh
  26. +1 −1 lgsm/functions/command_dev_query_raw.sh
  27. +1 −1 lgsm/functions/command_donate.sh
  28. +9 −9 lgsm/functions/command_fastdl.sh
  29. +1 −1 lgsm/functions/command_install.sh
  30. +1 −1 lgsm/functions/command_install_resources_mta.sh
  31. +1 −1 lgsm/functions/command_mods_install.sh
  32. +2 −2 lgsm/functions/command_mods_remove.sh
  33. +5 −5 lgsm/functions/command_mods_update.sh
  34. +2 −2 lgsm/functions/command_monitor.sh
  35. +4 −4 lgsm/functions/command_postdetails.sh
  36. +1 −1 lgsm/functions/command_restart.sh
  37. +4 −4 lgsm/functions/command_start.sh
  38. +2 −2 lgsm/functions/command_stop.sh
  39. +1 −1 lgsm/functions/command_test_alert.sh
  40. +1 −1 lgsm/functions/command_ts3_server_pass.sh
  41. +1 −1 lgsm/functions/command_update.sh
  42. +1 −1 lgsm/functions/command_update_functions.sh
  43. +9 −8 lgsm/functions/command_update_linuxgsm.sh
  44. +2 −2 lgsm/functions/command_validate.sh
  45. +1 −1 lgsm/functions/command_wipe.sh
  46. +1 −1 lgsm/functions/compress_unreal2_maps.sh
  47. +1 −1 lgsm/functions/compress_ut99_maps.sh
  48. +6 −8 lgsm/functions/core_dl.sh
  49. +125 −125 lgsm/functions/core_functions.sh
  50. +5 −5 lgsm/functions/core_getopt.sh
  51. +1 −1 lgsm/functions/fix_arma3.sh
  52. +1 −1 lgsm/functions/fix_csgo.sh
  53. +1 −1 lgsm/functions/fix_dst.sh
  54. +1 −1 lgsm/functions/fix_kf.sh
  55. +1 −1 lgsm/functions/fix_kf2.sh
  56. +1 −1 lgsm/functions/fix_mta.sh
  57. +1 −1 lgsm/functions/fix_ro.sh
  58. +1 −1 lgsm/functions/fix_sfc.sh
  59. +1 −1 lgsm/functions/fix_ss3.sh
  60. +1 −1 lgsm/functions/fix_steamcmd.sh
  61. +1 −1 lgsm/functions/fix_terraria.sh
  62. +1 −1 lgsm/functions/fix_tf2.sh
  63. +1 −1 lgsm/functions/fix_ts3.sh
  64. +1 −1 lgsm/functions/fix_ut.sh
  65. +1 −1 lgsm/functions/fix_ut2k4.sh
  66. +1 −1 lgsm/functions/fix_ut3.sh
  67. +1 −1 lgsm/functions/fix_zmr.sh
  68. +8 −8 lgsm/functions/info_config.sh
  69. +17 −17 lgsm/functions/info_distro.sh
  70. +1 −1 lgsm/functions/info_parms.sh
  71. +4 −4 lgsm/functions/info_stats.sh
  72. +1 −1 lgsm/functions/install_complete.sh
  73. +1 −1 lgsm/functions/install_config.sh
  74. +1 −1 lgsm/functions/install_dst_token.sh
  75. +1 −1 lgsm/functions/install_gslt.sh
  76. +1 −1 lgsm/functions/install_header.sh
  77. +5 −9 lgsm/functions/install_logs.sh
  78. +1 −1 lgsm/functions/install_mta_resources.sh
  79. +1 −1 lgsm/functions/install_retry.sh
  80. +1 −1 lgsm/functions/install_server_dir.sh
  81. +2 −2 lgsm/functions/install_server_files.sh
  82. +1 −1 lgsm/functions/install_squad_license.sh
  83. +1 −1 lgsm/functions/install_stats.sh
  84. +1 −1 lgsm/functions/install_ts3db.sh
  85. +1 −1 lgsm/functions/install_ut2k4_key.sh
  86. +1 −1 lgsm/functions/logs.sh
  87. +13 −13 lgsm/functions/mods_core.sh
  88. +8 −8 lgsm/functions/mods_list.sh
  89. +1 −1 lgsm/functions/query_gamedig.sh
  90. +2 −2 lgsm/functions/update_factorio.sh
  91. +4 −4 lgsm/functions/update_minecraft.sh
  92. +4 −4 lgsm/functions/update_mta.sh
  93. +2 −2 lgsm/functions/update_mumble.sh
  94. +2 −2 lgsm/functions/update_steamcmd.sh
  95. +7 −7 lgsm/functions/update_ts3.sh
  96. +8 −11 linuxgsm.sh
  97. +8 −11 tests/tests_fctrserver.sh
  98. +8 −10 tests/tests_jc2server.sh
  99. +8 −11 tests/tests_mcserver.sh
  100. +9 −12 tests/tests_ts3server.sh
@@ -10,8 +10,8 @@ if ! command -v jq > /dev/null; then
fn_script_log_fatal "Sending Discord alert: jq is missing."
fi

escaped_servername="$(echo -n "${servername}" | jq -sRr "@json")"
escaped_alertbody="$(echo -n "${alertbody}" | jq -sRr "@json")"
escaped_servername=$(echo -n "${servername}" | jq -sRr "@json")
escaped_alertbody=$(echo -n "${alertbody}" | jq -sRr "@json")

json=$(cat <<EOF
{
@@ -51,7 +51,7 @@ EOF

fn_print_dots "Sending Discord alert"

discordsend=$(${curlpath} -sSL -H "Content-Type: application/json" -X POST -d "$(echo -n "$json" | jq -c .)" "${discordwebhook}")
discordsend=$(curl -sSL -H "Content-Type: application/json" -X POST -d "$(echo -n "$json" | jq -c .)" "${discordwebhook}")

if [ -n "${discordsend}" ]; then
fn_print_fail_nl "Sending Discord alert: ${discordsend}"
@@ -6,7 +6,7 @@

local commandname="ALERT"
local commandaction="Alert"
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
local function_selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")")

fn_print_dots "Sending Email alert: ${email}"
fn_sleep_time
@@ -6,7 +6,7 @@

local commandname="ALERT"
local commandaction="Alert"
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
local function_selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")")

json=$(cat <<EOF
{
@@ -18,7 +18,7 @@ EOF
)

fn_print_dots "Sending IFTTT alert"
iftttsend=$(${curlpath} -sSL -H "Content-Type: application/json" -X POST -d """${json}""" "https://maker.ifttt.com/trigger/${iftttevent}/with/key/${ifttttoken}" | grep "Bad Request")
iftttsend=$(curl -sSL -H "Content-Type: application/json" -X POST -d """${json}""" "https://maker.ifttt.com/trigger/${iftttevent}/with/key/${ifttttoken}" | grep "Bad Request")

if [ -n "${iftttsend}" ]; then
fn_print_fail_nl "Sending IFTTT alert: ${pushbulletsend}"
@@ -6,11 +6,11 @@

local commandname="ALERT"
local commandaction="Alert"
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
local function_selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")")

fn_print_dots "Sending Email alert: Mailgun: ${email}"

mailgunsend=$(${curlpath} -s --user "api:${mailguntoken}" \
mailgunsend=$(curl -s --user "api:${mailguntoken}" \
-F from="LinuxGSM <${mailgunemailfrom}>" \
-F to="LinuxGSM Admin <${mailgunemail}>" \
-F subject="${alertemoji} ${alertsubject} ${alertemoji}" \
@@ -6,7 +6,7 @@

local commandname="ALERT"
local commandaction="Alert"
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
local function_selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")")

json=$(cat <<EOF
{
@@ -19,7 +19,7 @@ EOF
)

fn_print_dots "Sending Pushbullet alert"
pushbulletsend=$(${curlpath} -sSL -u """${pushbullettoken}"":" -H "Content-Type: application/json" -X POST -d """${json}""" "https://api.pushbullet.com/v2/pushes" | grep "error_code")
pushbulletsend=$(curl -sSL -u """${pushbullettoken}"":" -H "Content-Type: application/json" -X POST -d """${json}""" "https://api.pushbullet.com/v2/pushes" | grep "error_code")

if [ -n "${pushbulletsend}" ]; then
fn_print_fail_nl "Sending Pushbullet alert: ${pushbulletsend}"
@@ -6,7 +6,7 @@

local commandname="ALERT"
local commandaction="Alert"
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
local function_selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")")

fn_print_dots "Sending Pushover alert"

@@ -23,7 +23,7 @@ else
alertpriority="0"
fi

pushoversend=$(${curlpath} -sS -F token="${pushovertoken}" -F user="${pushoveruserkey}" -F html="1" -F sound="${alertsound}" -F priority="${alertpriority}" -F title="${alertemoji} ${alertsubject} ${alertemoji}" -F message=" <b>Message</b><br>${alertbody}<br><br><b>Game</b><br>${gamename}<br><br><b>Server name</b><br>${servername}<br><br><b>Hostname</b><br>${HOSTNAME}<br><br><b>Server IP</b><br><a href='https://www.gametracker.com/server_info/${alertip}:${port}'>${alertip}:${port}</a><br><br><b>More info</b><br><a href='${alerturl}'>${alerturl}</a>" "https://api.pushover.net/1/messages.json" | grep errors)
pushoversend=$(curl -sS -F token="${pushovertoken}" -F user="${pushoveruserkey}" -F html="1" -F sound="${alertsound}" -F priority="${alertpriority}" -F title="${alertemoji} ${alertsubject} ${alertemoji}" -F message=" <b>Message</b><br>${alertbody}<br><br><b>Game</b><br>${gamename}<br><br><b>Server name</b><br>${servername}<br><br><b>Hostname</b><br>${HOSTNAME}<br><br><b>Server IP</b><br><a href='https://www.gametracker.com/server_info/${alertip}:${port}'>${alertip}:${port}</a><br><br><b>More info</b><br><a href='${alerturl}'>${alerturl}</a>" "https://api.pushover.net/1/messages.json" | grep errors)

if [ -n "${pushoversend}" ]; then
fn_print_fail_nl "Sending Pushover alert: ${pushoversend}"
@@ -65,7 +65,7 @@ EOF

fn_print_dots "Sending Slack alert"

slacksend=$(${curlpath} -sSL -H "Content-Type: application/json" -X POST -d "$(echo -n "$json" | jq -c .)" "${slackwebhook}")
slacksend=$(curl -sSL -H "Content-Type: application/json" -X POST -d "$(echo -n "$json" | jq -c .)" "${slackwebhook}")

if [ "${slacksend}" == "ok" ]; then
fn_print_ok_nl "Sending Slack alert"
@@ -6,7 +6,7 @@

local commandname="ALERT"
local commandaction="Alert"
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
local function_selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")")

json=$(cat <<EOF
{
@@ -18,7 +18,7 @@ EOF
)

fn_print_dots "Sending Telegram alert"
telegramsend=$(${curlpath} -sSL -H "Content-Type: application/json" -X POST -d """${json}""" "https://api.telegram.org/bot${telegramtoken}/sendMessage" "${curlcustomstring}" | grep "error_code")
telegramsend=$(curl -sSL -H "Content-Type: application/json" -X POST -d """${json}""" "https://api.telegram.org/bot${telegramtoken}/sendMessage" "${curlcustomstring}" | grep "error_code")

if [ -n "${telegramsend}" ]; then
fn_print_fail_nl "Sending Telegram alert: ${telegramsend}"
@@ -5,7 +5,7 @@
# Description: Checks if the server config is missing and warns the user if needed.

local commandname="CHECK"
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
local function_selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")")

if [ ! -e "${servercfgfullpath}" ]; then
if [ "${shortname}" != "hw" ]&&[ "${shortname}" != "ut3" ]&&[ "${shortname}" != "kf2" ]; then
@@ -160,7 +160,7 @@ fn_deps_detector(){
depstatus=1
jquniversemissing=1
elif [ "${deptocheck}" == "mono-complete" ]; then
if [ "$(command -v mono 2>/dev/null)" ]&&[ "$(mono --version 2>&1 | grep -Po '(?<=version )\d')" -ge 5 ]; then
if [ -n "$(command -v mono 2>/dev/null)" ]&&[ "$(mono --version 2>&1 | grep -Po '(?<=version )\d')" -ge 5 ]; then
# Mono >= 5.0.0 already installed.
depstatus=0
else
@@ -337,7 +337,7 @@ fn_deps_build_debian(){
# LinuxGSM requirements.
array_deps_required=( curl wget ca-certificates file bsdmainutils util-linux python3 tar bzip2 gzip unzip binutils bc jq )

if [ "$(command -v tmux 2>/dev/null)" ]; then
if [ -n "$(command -v tmux 2>/dev/null)" ]; then
tmuxcheck=1 # Added for users compiling tmux from source to bypass check.
else
array_deps_required+=( tmux )
@@ -402,7 +402,7 @@ fn_deps_build_debian(){
array_deps_required+=( libstdc++5:i386 )
# Project Zomboid
elif [ "${shortname}" == "pz" ]; then
if [ -n "$(java -version 2>&1 | grep "version")" ]; then
if java -version 2>&1 | grep "version"; then
# Added for users using Oracle JRE to bypass the check.
javacheck=1
array_deps_required+=( rng-tools )
@@ -461,7 +461,7 @@ fn_deps_build_redhat(){
fi

# All servers except ts3 require tmux.
if [ "$(command -v tmux 2>/dev/null)" ]; then
if [ -n "$(command -v tmux 2>/dev/null)" ]; then
# Added for users compiling tmux from source to bypass check.
tmuxcheck=1
else
@@ -5,7 +5,7 @@
# Description: Checks if server executable exists.

local commandname="CHECK"
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
local function_selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")")

# Check if executable exists
if [ ! -f "${executabledir}/${execname}" ]; then
@@ -5,7 +5,7 @@
# Description: Checks if log files exist.

local commandname="CHECK"
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
local function_selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")")

fn_check_logs(){
fn_print_dots "Checking for log files"
@@ -74,7 +74,7 @@ fn_check_permissions(){
# Check rootdir permissions.
if [ -n "${rootdir}" ]; then
# Get permission numbers on directory under the form 775.
rootdirperm="$(stat -c %a "${rootdir}")"
rootdirperm=$(stat -c %a "${rootdir}")
# Grab the first and second digit for user and group permission.
userrootdirperm="${rootdirperm:0:1}"
grouprootdirperm="${rootdirperm:1:1}"
@@ -94,10 +94,10 @@ fn_check_permissions(){
fi
# Check if executable is executable and attempt to fix it.
# First get executable name.
execname="$(basename "${executable}")"
execname=$(basename "${executable}")
if [ -f "${executabledir}/${execname}" ]; then
# Get permission numbers on file under the form 775.
execperm="$(stat -c %a "${executabledir}/${execname}")"
execperm=$(stat -c %a "${executabledir}/${execname}")
# Grab the first and second digit for user and group permission.
userexecperm="${execperm:0:1}"
groupexecperm="${execperm:1:1}"
@@ -118,7 +118,7 @@ fn_check_permissions(){
chmod u+x,g+x "${executabledir}/${execname}"
# Second check to see if it's been successfully applied.
# Get permission numbers on file under the form 775.
execperm="$(stat -c %a "${executabledir}/${execname}")"
execperm=$(stat -c %a "${executabledir}/${execname}")
# Grab the first and second digit for user and group permission.
userexecperm="${execperm:0:1}"
groupexecperm="${execperm:1:1}"
@@ -181,8 +181,7 @@ fn_sys_perm_fix_manually_msg(){

# Attempt to fix /sys related permission errors if sudo is available, exits otherwise.
fn_sys_perm_errors_fix(){
sudo -n true > /dev/null 2>&1
if [ $? -eq 0 ]; then
if sudo -n true > /dev/null 2>&1; then
fn_print_dots "Automatically fixing /sys permissions"
fn_script_log_info "Automatically fixing /sys permissions."
if [ "${sysdirpermerror}" == "1" ]; then
@@ -5,7 +5,7 @@
# Description: Checks if the user tried to run the script as root.

local commandname="CHECK"
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
local function_selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")")

if [ "$(whoami)" = "root" ]; then
if [ "${function_selfname}" != "command_install.sh" ]; then
@@ -6,6 +6,6 @@
# Description: Checks the process status of the server. Either online or offline.

local commandname="CHECK"
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
local function_selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")")

status=$(tmux list-sessions -F "#{session_name}" 2>/dev/null | grep -Ecx "^${selfname}")
@@ -5,7 +5,7 @@
# Description: Checks if systemdir/serverfiles is accessible.

local commandname="CHECK"
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
local function_selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")")

if [ "${function_selfname}" != "command_validate.sh" ]; then
checkdir="${serverfiles}"
@@ -6,7 +6,7 @@
# Description: Checks RAM requirements

local commandname="CHECK"
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
local function_selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")")

info_distro.sh

@@ -7,7 +7,7 @@

local commandname="BACKUP"
local commandaction="Backup"
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
local function_selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")")

check.sh

@@ -6,7 +6,7 @@

local commandname="CONSOLE"
local commandaction="Console"
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
local function_selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")")

check.sh
fn_print_header
@@ -6,7 +6,7 @@

local commandname="DEBUG"
local commandaction="Debug"
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
local function_selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")")

# Trap to remove lockfile on quit.
fn_lockfile_trap(){
@@ -7,7 +7,7 @@

local commandname="DETAILS"
local commandaction="Details"
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
local function_selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")")

# Run checks and gathers details to display.
check.sh
@@ -6,7 +6,7 @@

local commandname="DEV-DEBUG"
local commandaction="Dev-Debug"
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
local function_selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")")

if [ -f "${rootdir}/.dev-debug" ]; then
rm "${rootdir}/.dev-debug"
@@ -6,16 +6,16 @@

local commandname="DETECT-DEPS"
local commandaction="Detect-Deps"
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
local function_selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")")

echo -e "================================="
echo -e "Dependencies Checker"
echo -e "================================="
echo -e "Checking directory: "
echo -e "${serverfiles}"
if [ "$(command -v eu-readelf 2>/dev/null)" ]; then
if [ -n "$(command -v eu-readelf 2>/dev/null)" ]; then
readelf=eu-readelf
elif [ "$(command -v readelf 2>/dev/null)" ]; then
elif [ -n "$(command -v readelf 2>/dev/null)" ]; then
readelf=readelf
else
echo -e "readelf/eu-readelf not installed"
@@ -7,7 +7,7 @@

local commandname="DETECT-GLIBC"
local commandaction="Detect-Glibc"
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
local function_selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")")

echo -e "================================="
echo -e "glibc Requirements Checker"
@@ -20,7 +20,7 @@ if [ -z "$(command -v objdump)" ]; then
fi

if [ -z "${serverfiles}" ]; then
dir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
dir=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")
fi

if [ -d "${serverfiles}" ]; then
@@ -7,14 +7,14 @@

local commandname="DETECT-LDD"
local commandaction="Detect-LDD"
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
local function_selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")")

echo -e "================================="
echo -e "Shared Object dependencies Checker"
echo -e "================================="

if [ -z "${serverfiles}" ]; then
dir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
dir=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")
fi

if [ -d "${serverfiles}" ]; then
@@ -6,7 +6,7 @@

local commandname="QUERY-RAW"
local commandaction="Query Raw"
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
local function_selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")")

echo -e ""
echo -e "Query Port - Raw Output"
@@ -6,7 +6,7 @@

local commandname="CONSOLE"
local commandaction="Console"
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
local function_selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")")

fn_print_ascii_logo
echo -e "${lightyellow}Support LinuxGSM${default}"

0 comments on commit 835fdee

Please sign in to comment.
You can’t perform that action at this time.