Use DIR vars for folder check
This commit is contained in:
parent
019aa0a3d1
commit
b21fa71c22
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue