Browse Source

renamed email_test

pull/592/head
Daniel Gibbs 9 years ago
parent
commit
4aa2c3ad76
  1. 6
      functions/command_email_test.sh
  2. 2
      functions/core_functions.sh
  3. 14
      functions/core_getopt.sh

6
functions/email_test.sh → functions/command_email_test.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM email_test.sh function # LGSM command_email_test.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: http://gameservermanagers.com # Website: http://gameservermanagers.com
lgsm_version="271215" lgsm_version="271215"
@ -7,8 +7,8 @@ lgsm_version="271215"
# Description: Sends a test email notification. # Description: Sends a test email notification.
local modulename="Email" local modulename="Email"
check_root.sh function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
check_systemdir.sh check.sh
info_config.sh info_config.sh
if [ "${emailnotification}" = "on" ]; then if [ "${emailnotification}" = "on" ]; then
fn_scriptlog "Sending test notification" fn_scriptlog "Sending test notification"

2
functions/core_functions.sh

@ -206,7 +206,7 @@ functionfile="${FUNCNAME}"
fn_runfunction fn_runfunction
} }
email_test.sh(){ command_email_test.sh(){
functionfile="${FUNCNAME}" functionfile="${FUNCNAME}"
fn_runfunction fn_runfunction
} }

14
functions/core_getopt.sh

@ -26,7 +26,7 @@ case "$getopt" in
m|monitor) m|monitor)
command_monitor.sh;; command_monitor.sh;;
et|email-test) et|email-test)
email_test.sh;; command_email_test.sh;;
d|details) d|details)
command_details.sh;; command_details.sh;;
b|backup) b|backup)
@ -85,7 +85,7 @@ case "$getopt" in
m|monitor) m|monitor)
command_monitor.sh;; command_monitor.sh;;
et|email-test) et|email-test)
email_test.sh;; command_email_test.sh;;
d|details) d|details)
command_details.sh;; command_details.sh;;
b|backup) b|backup)
@ -134,7 +134,7 @@ case "$getopt" in
m|monitor) m|monitor)
command_monitor.sh;; command_monitor.sh;;
et|email-test) et|email-test)
email_test.sh;; command_email_test.sh;;
b|backup) b|backup)
command_backup.sh;; command_backup.sh;;
dev|dev-debug) dev|dev-debug)
@ -186,7 +186,7 @@ case "$getopt" in
m|monitor) m|monitor)
command_monitor.sh;; command_monitor.sh;;
et|email-test) et|email-test)
email_test.sh;; command_email_test.sh;;
d|details) d|details)
command_details.sh;; command_details.sh;;
b|backup) b|backup)
@ -243,7 +243,7 @@ case "$getopt" in
m|monitor) m|monitor)
command_monitor.sh;; command_monitor.sh;;
et|email-test) et|email-test)
email_test.sh;; command_email_test.sh;;
d|details) d|details)
command_details.sh;; command_details.sh;;
b|backup) b|backup)
@ -305,7 +305,7 @@ case "$getopt" in
m|monitor) m|monitor)
command_monitor.sh;; command_monitor.sh;;
et|email-test) et|email-test)
email_test.sh;; command_email_test.sh;;
d|details) d|details)
command_details.sh;; command_details.sh;;
b|backup) b|backup)
@ -366,7 +366,7 @@ case "$getopt" in
m|monitor) m|monitor)
command_monitor.sh;; command_monitor.sh;;
et|email-test) et|email-test)
email_test.sh;; command_email_test.sh;;
d|details) d|details)
command_details.sh;; command_details.sh;;
b|backup) b|backup)

Loading…
Cancel
Save