mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 12:54:04 +02:00
Update ha_entrypoint_modif.sh
This commit is contained in:
@@ -5,6 +5,15 @@ set -e
|
|||||||
# Global modifications before entrypoint #
|
# 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
|
# Corrects permissions for s6 v3
|
||||||
################################
|
################################
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user