Update ha_entrypoint_modif.sh

This commit is contained in:
Alexandre
2023-12-24 19:56:38 +01:00
committed by GitHub
parent f9d64da34f
commit e041de9bde

View File

@@ -5,6 +5,15 @@ set -e
# Global modifications before entrypoint #
##########################################
# Ensure lf
###########
for folders in /default /defaults /etc; do
if [ -d "$folders" ]; then
find "$folders" -type f -not -path '*/\.*' -exec grep -Il '.' {} \; | xargs -d '\n' -L 1 dos2unix -k
fi
done
# Corrects permissions for s6 v3
################################