Update mm-scripts.sh
This commit is contained in:
@@ -267,8 +267,6 @@ MMSTOP(){
|
||||
done
|
||||
echo "$(date) - Media Management systems stopped" >> $logfile
|
||||
|
||||
zerogw=$(ip route show | grep 0.0.0.0 | cut -d' ' -f 3)
|
||||
defaultgw=$(ip route show | grep default | cut -d' ' -f 3)
|
||||
[ "$(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
|
||||
|
||||
Reference in New Issue
Block a user