This commit is contained in:
2023-02-20 18:09:17 -06:00
parent feefa88a8d
commit 47f90755af
2 changed files with 10 additions and 11 deletions

View File

@@ -288,9 +288,9 @@ MMSTOP(){
fi #/radarr
fi #/ombi
done
echo -e "${idsCL[Green]} done${idsCL[Default]}"
echo
echo -en "${idsCL[LightCyan]}Stopping VPN Tunnel... ${idsCL[Default]}"
"${VPN_STOP[@]}"
@@ -302,12 +302,12 @@ MMSTOP(){
checked=""
fi
done
echo "$(date) - Media Management systems stopped" >> $logfile
[ "$(ip route show | grep default | cut -d' ' -f 3)" != "10.10.0.1" ] && /bin/ip route add default via 10.10.0.1
[ $VERBOSE = true ] && echo "$(date) - Added default route back in" >> $logfile
echo -e "${idsCL[Green]} done${idsCL[Default]}"
echo "$(date) - Media Management systems stopped" >> $logfile
echo
echo -e "${idsCL[Red]}All services have been stopped${idsCL[Default]}"