skyaware lighttpd module replaced dump1090-fa. We can disable dump1090-fa module now

This commit is contained in:
eric1tran 2022-03-07 21:09:42 +00:00
parent 6fc48a8cef
commit b842f4a8ed
1 changed files with 10 additions and 0 deletions

View File

@ -81,6 +81,16 @@ case "$1" in
fi
# dump1090-fa lighttpd module deprecated in 7.2
if dpkg --compare-versions "$2" lt "7.2"
then
if [ -e /etc/lighttpd/conf-enabled/89-dump1090-fa.conf ]
then
echo "Disabling deprecated lighttpd dump1090-fa module..." >&2
lighty-disable-mod dump1090-fa || true
fi
fi
echo "Restarting lighttpd.." >&2
invoke-rc.d lighttpd restart || true
;;