Use DIR vars for folder check

This commit is contained in:
TheSpad 2022-09-09 19:47:02 +01:00
parent 2ee8af10f9
commit 4e412a5fdc
No known key found for this signature in database
GPG key ID: 08F06191F4587860

View file

@ -270,7 +270,7 @@ run_mods() {
# Main script loop # Main script loop
if [ ! -d "/custom-cont-init.d" ] && [ ! -d "/custom-services.d" ]; then 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