mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 16:58:27 -04:00
Echo script ver if s6_verbosity >= 2
This commit is contained in:
+6
-1
@@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
# Version 3
|
# Version 3
|
||||||
# 2022-09-25
|
# 2022-09-25
|
||||||
|
MOD_SCRIPT_VER="3"
|
||||||
|
|
||||||
# Define custom folder paths
|
# Define custom folder paths
|
||||||
SCRIPTS_DIR_OLD="/config/custom-cont-init.d"
|
SCRIPTS_DIR_OLD="/config/custom-cont-init.d"
|
||||||
@@ -285,7 +286,11 @@ run_mods() {
|
|||||||
|
|
||||||
# Main script loop
|
# Main script loop
|
||||||
|
|
||||||
if [ ! -d "${SCRIPTS_DIR}" ] && [ ! -d "${SERVICES_DIR}" ]; then
|
if [[ ${S6_VERBOSITY} -ge 2 ]]; then
|
||||||
|
echo "[mod-init] Version ${MOD_SCRIPT_VER}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ! -d "${SCRIPTS_DIR}" ]] && [[ ! -d "${SERVICES_DIR}" ]]; then
|
||||||
# Tamper check legacy custom folders
|
# Tamper check legacy custom folders
|
||||||
tamper_check_legacy
|
tamper_check_legacy
|
||||||
process_custom_services_legacy
|
process_custom_services_legacy
|
||||||
|
|||||||
Reference in New Issue
Block a user