make the uninstall work
This commit is contained in:
parent
92102aebca
commit
033bc20fd7
2 changed files with 7 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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!"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue