mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 22:04:06 +02:00
Update ha_entrypoint_modif.sh
This commit is contained in:
@@ -12,7 +12,7 @@ set -e
|
|||||||
# It skips hidden files, binary files, and files without crlf eol
|
# It skips hidden files, binary files, and files without crlf eol
|
||||||
|
|
||||||
# Find all non-hidden files in /etc that contain crlf eol
|
# Find all non-hidden files in /etc that contain crlf eol
|
||||||
FILES=$(find /etc -type f -not -path '*/\.*' -exec grep -Il $'\r' {} \;)
|
FILES=$(find /etc /defaults -type f -not -path '*/\.*' -exec grep -Il $'\r' {} \;)
|
||||||
|
|
||||||
# Loop through each file and apply dos2unix
|
# Loop through each file and apply dos2unix
|
||||||
for f in $FILES; do
|
for f in $FILES; do
|
||||||
|
|||||||
Reference in New Issue
Block a user