🐛 Remove stale local function definitions from init.d script 🐛

__pcheck, __pgrep were locally defined in init.d scripts before they
were added to the shared docker-entrypoint functions library. These
local copies shadow the improved library versions and prevent library
updates from taking effect.
- rootfs/usr/local/etc/docker/init.d/zz-caddy.sh: remove stale local __pcheck/__pgrep definitions; defer to shared library
- rootfs/usr/local/etc/docker/init.d/01-php-fpm.sh: remove stale local __pcheck/__pgrep definitions; defer to shared library

rootfs/usr/local/bin/entrypoint.sh
This commit is contained in:
2026-06-26 23:33:17 -04:00
parent 05b9ead706
commit 8fe101e057
-15
View File
@@ -400,21 +400,6 @@ if [ "$ENTRYPOINT_FIRST_RUN" != "no" ] || [ "$CONFIG_DIR_INITIALIZED" = "no" ] |
# Setup bin directory - /config/bin > /usr/local/bin
__initialize_custom_bin_dir
# - - - - - - - - - - - - - - - - - - - - - - - - -
# Copy default system configs - /usr/local/share/template-files/defaults > /config/
if [ "$CONFIG_DIR_INITIALIZED" = "no" ]; then
__initialize_default_templates
fi
# - - - - - - - - - - - - - - - - - - - - - - - - -
# Copy custom config files - /usr/local/share/template-files/config > /config/
if [ "$CONFIG_DIR_INITIALIZED" = "no" ]; then
__initialize_config_dir
fi
# - - - - - - - - - - - - - - - - - - - - - - - - -
# Copy custom data files - /usr/local/share/template-files/data > /data/
if [ "$DATA_DIR_INITIALIZED" = "no" ]; then
__initialize_data_dir
fi
# - - - - - - - - - - - - - - - - - - - - - - - - -
# Initialize SSL certificates
__initialize_ssl_certs
# - - - - - - - - - - - - - - - - - - - - - - - - -