diff --git a/bash/feeders/adsbexchange.sh b/bash/feeders/adsbexchange.sh index d5e0ed4..91d2045 100644 --- a/bash/feeders/adsbexchange.sh +++ b/bash/feeders/adsbexchange.sh @@ -75,7 +75,7 @@ sudo chmod +x $BUILDDIR/adsbexchange/adsbexchange-maint.sh echo -e "\033[33mAdding startup line to rc.local..." echo -e "\033[37m" lnum=($(sed -n '/exit 0/=' /etc/rc.local)) -((lnum>0)) && sudo sed -i "${lnum[$((${#lnum[@]}-1))]}i ${BUILDDIR}/adsbexchange-maint.sh &\n" /etc/rc.local +((lnum>0)) && sudo sed -i "${lnum[$((${#lnum[@]}-1))]}i ${BUILDDIR}/adsbexchange/adsbexchange-maint.sh &\n" /etc/rc.local ## START NETCAT ADS-B EXCHANGE FEED