|
|
@ -7,6 +7,9 @@ |
|
|
|
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" |
|
|
|
|
|
|
|
fn_alert_log(){ |
|
|
|
info_distro.sh |
|
|
|
info_config.sh |
|
|
|
info_messages.sh |
|
|
|
if [ -f "${alertlog}" ]; then |
|
|
|
rm -f "${alertlog:?}" |
|
|
|
fi |
|
|
@ -75,10 +78,6 @@ fn_alert_config(){ |
|
|
|
alertbody="${selfname} has received a new _default.cfg. Check file for changes." |
|
|
|
} |
|
|
|
|
|
|
|
info_distro.sh |
|
|
|
info_config.sh |
|
|
|
info_messages.sh |
|
|
|
|
|
|
|
if [ "${alert}" == "permissions" ]; then |
|
|
|
fn_alert_permissions |
|
|
|
elif [ "${alert}" == "restart" ]; then |
|
|
|