From 4aa2c3ad76c408cfa20199e86615178d6f97cabd Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Mon, 28 Dec 2015 23:32:25 +0000 Subject: [PATCH] renamed email_test --- functions/{email_test.sh => command_email_test.sh} | 6 +++--- functions/core_functions.sh | 2 +- functions/core_getopt.sh | 14 +++++++------- 3 files changed, 11 insertions(+), 11 deletions(-) rename functions/{email_test.sh => command_email_test.sh} (82%) diff --git a/functions/email_test.sh b/functions/command_email_test.sh similarity index 82% rename from functions/email_test.sh rename to functions/command_email_test.sh index 388c17bf9..b24ff3b01 100644 --- a/functions/email_test.sh +++ b/functions/command_email_test.sh @@ -1,5 +1,5 @@ #!/bin/bash -# LGSM email_test.sh function +# LGSM command_email_test.sh function # Author: Daniel Gibbs # Website: http://gameservermanagers.com lgsm_version="271215" @@ -7,8 +7,8 @@ lgsm_version="271215" # Description: Sends a test email notification. local modulename="Email" -check_root.sh -check_systemdir.sh +function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" +check.sh info_config.sh if [ "${emailnotification}" = "on" ]; then fn_scriptlog "Sending test notification" diff --git a/functions/core_functions.sh b/functions/core_functions.sh index 868f65885..5d950ce56 100644 --- a/functions/core_functions.sh +++ b/functions/core_functions.sh @@ -206,7 +206,7 @@ functionfile="${FUNCNAME}" fn_runfunction } -email_test.sh(){ +command_email_test.sh(){ functionfile="${FUNCNAME}" fn_runfunction } diff --git a/functions/core_getopt.sh b/functions/core_getopt.sh index 563956310..73be96001 100644 --- a/functions/core_getopt.sh +++ b/functions/core_getopt.sh @@ -26,7 +26,7 @@ case "$getopt" in m|monitor) command_monitor.sh;; et|email-test) - email_test.sh;; + command_email_test.sh;; d|details) command_details.sh;; b|backup) @@ -85,7 +85,7 @@ case "$getopt" in m|monitor) command_monitor.sh;; et|email-test) - email_test.sh;; + command_email_test.sh;; d|details) command_details.sh;; b|backup) @@ -134,7 +134,7 @@ case "$getopt" in m|monitor) command_monitor.sh;; et|email-test) - email_test.sh;; + command_email_test.sh;; b|backup) command_backup.sh;; dev|dev-debug) @@ -186,7 +186,7 @@ case "$getopt" in m|monitor) command_monitor.sh;; et|email-test) - email_test.sh;; + command_email_test.sh;; d|details) command_details.sh;; b|backup) @@ -243,7 +243,7 @@ case "$getopt" in m|monitor) command_monitor.sh;; et|email-test) - email_test.sh;; + command_email_test.sh;; d|details) command_details.sh;; b|backup) @@ -305,7 +305,7 @@ case "$getopt" in m|monitor) command_monitor.sh;; et|email-test) - email_test.sh;; + command_email_test.sh;; d|details) command_details.sh;; b|backup) @@ -366,7 +366,7 @@ case "$getopt" in m|monitor) command_monitor.sh;; et|email-test) - email_test.sh;; + command_email_test.sh;; d|details) command_details.sh;; b|backup)