From 39d2fe04d9bc568a1d2c0a02126d5cd9fb2d0371 Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Tue, 29 Dec 2020 20:37:14 +0100 Subject: [PATCH] let's stop leaving dump1090-fa/readsb mod_setenv config alone could be doubled up via lighttpd.conf which we don't want to touch --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 2822508..b458010 100755 --- a/install.sh +++ b/install.sh @@ -332,7 +332,7 @@ then while read -r FILE; do sed -i -e 's/^server.modules.*mod_setenv.*/#\0/' "$FILE" sed -i -e 's/^server.stat-cache-engine.*disable.*/#\0/' "$FILE" - done < <(find /etc/lighttpd/conf-available/* | grep -v dump1090-fa | grep -v readsb | grep -v setenv) + done < <(find /etc/lighttpd/conf-available/* | grep -v setenv) # add mod_setenv to lighttpd modules, check if it's one too much echo 'server.modules += ( "mod_setenv" )' > /etc/lighttpd/conf-available/87-mod_setenv.conf