23 lines
558 B
Bash
Executable file
23 lines
558 B
Bash
Executable file
#!/bin/bash
|
|
set -x
|
|
|
|
IPATH=/usr/local/share/adsbexchange
|
|
|
|
systemctl disable --now adsbexchange-mlat
|
|
systemctl disable --now adsbexchange-mlat2 &>/dev/null
|
|
systemctl disable --now adsbexchange-feed
|
|
|
|
if [[ -d /usr/local/share/tar1090/html-adsbx ]]; then
|
|
bash /usr/local/share/tar1090/uninstall.sh adsbx
|
|
fi
|
|
|
|
rm -f /lib/systemd/system/adsbexchange-mlat.service
|
|
rm -f /lib/systemd/system/adsbexchange-mlat2.service
|
|
rm -f /lib/systemd/system/adsbexchange-feed.service
|
|
|
|
rm -rf "$IPATH"
|
|
|
|
set +x
|
|
|
|
echo -----
|
|
echo "adsbexchange feed scripts have been uninstalled!"
|