Use DIR vars for folder check

This commit is contained in:
TheSpad 2022-09-09 19:45:10 +01:00
parent 019aa0a3d1
commit b21fa71c22
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