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