From 53a6cbe95aa5d87634f5fec445d2802f519ad4ed Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Wed, 30 Jul 2025 13:05:21 +0200 Subject: [PATCH] Fix line endings on Windows Fix #489 --- .gitattributes | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..2f647b9 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,9 @@ +# Files that are distributed onto the Rayhunter device always have to have +# Unix-style line endings, even if the installer is built on Windows with +# autocrlf enabled. +# Using CRLF for the init scripts will make them fail to execute on TP-Link. +# See https://github.com/EFForg/rayhunter/issues/489 + +dist/config.toml.in eol=lf +dist/scripts/misc-daemon eol=lf +dist/scripts/rayhunter_daemon eol=lf