make the uninstall work

This commit is contained in:
Matthias Wirth 2020-04-12 11:01:39 +02:00
commit 033bc20fd7
2 changed files with 7 additions and 1 deletions

View file

@ -53,7 +53,7 @@ sudo systemctl status adsbexchange-feed
### Removal / disabling the services:
```
sudo bash -c $(cat /usr/local/share/adsbexchange/uninstall.sh)
sudo bash /usr/local/share/adsbexchange/uninstall.sh
```
If the above doesn't work, you may be using an old version that didn't have the uninstall script, just disable the services and the scripts won't run anymore:

View file

@ -1,4 +1,5 @@
#!/bin/bash
set -x
IPATH=/usr/local/share/adsbexchange
@ -9,3 +10,8 @@ rm -f /lib/systemd/system/adsbexchange-mlat.service
rm -f /lib/systemd/system/adsbexchange-feed.service
rm -rf "$IPATH"
set +x
echo -----
echo "adsbexchange feed scripts have been uninstalled!"