From 73f438ced0c132548ac92d6f8792c1f8d081c303 Mon Sep 17 00:00:00 2001 From: tmantti Date: Mon, 13 Feb 2023 03:46:33 +0200 Subject: [PATCH 1/2] Install lighttpd --- install-or-update-interface.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install-or-update-interface.sh b/install-or-update-interface.sh index f02f677..9ba6a9a 100755 --- a/install-or-update-interface.sh +++ b/install-or-update-interface.sh @@ -3,6 +3,10 @@ set -e trap 'echo "------------"; echo "[ERROR] Error in line $LINENO when executing: $BASH_COMMAND"' ERR +if ! command -v lighttpd &>/dev/null; then + apt-get update || true; apt-get install -y --no-install-recommends --no-install-suggests lighttpd || true +fi + function getGIT() { # getGIT $REPO $BRANCH $TARGET-DIR if [[ -z "$1" ]] || [[ -z "$2" ]] || [[ -z "$3" ]]; then From 14f4f077fd0f8aa48469e86bf14cec2511a1011d Mon Sep 17 00:00:00 2001 From: tmantti Date: Mon, 13 Feb 2023 04:12:44 +0200 Subject: [PATCH 2/2] Improve readme --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7953885..986106b 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,10 @@ tcp 0 182 localhost:43530 65.109.2.208:31090 ESTABLISHED tcp 0 410 localhost:47332 65.109.2.208:30004 ESTABLISHED ``` -## 4: Optional: Install local interface for your data http://192.168.X.XX/adsbfi +## 4: Optional: Install [local interface](https://github.com/wiedehopf/tar1090) for your data + +The interface will be available at http://192.168.X.XX/adsbfi +Replace the IP address with the address of your Raspberry Pi. Install / Update: ``` @@ -70,6 +73,8 @@ sudo bash /tmp/feed.sh ### Disable / Enable adsb.fi MLAT-results in your main decoder interface (readsb / dump1090-fa) +This is enabled by default. You probably don't need to change that. + - Disable: ```