nginx-proxy-manager/rootfs/usr/local/bin/entrypoint.sh
Zoey 9d81b8aaa7
add findutils/remove prerun patches
Signed-off-by: Zoey <zoey@z0ey.de>
2024-03-12 17:25:16 +01:00

11 lines
233 B
Bash
Executable file

#!/bin/sh
if [ -n "$(ls -A /data/etc/prerun 2> /dev/null)" ]; then
for script in /data/etc/prerun/*.sh; do
echo "Exexcuting prerun script: $script"
chmod +x "$script"
"$script"
done
fi
exec start.sh