Update mm-scripts.sh
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
action="$1"
|
||||
|
||||
VERBOSE=true
|
||||
VERBOSE=false
|
||||
|
||||
if [ -f /opt/idssys/settings/mediamanager.conf ]; then
|
||||
mv /opt/idssys/settings/mediamanager.conf /opt/idssys/mediamanager/settings.conf
|
||||
@@ -105,7 +105,7 @@ MMSTART(){
|
||||
fi
|
||||
|
||||
if [ "${zerogw}" != "${defaultgw}" ]; then
|
||||
[ $VERBOSE = true ] && echo "$(date) - Adding VPN default routes" >> $logfile
|
||||
echo "$(date) - Adding VPN default routes" >> $logfile
|
||||
echo -en "${idsCL[LightCyan]}Adding VPN default routes... ${idsCL[Default]}"
|
||||
/bin/ip route del default via 10.10.0.1
|
||||
/bin/ip route add default via ${zerogw}
|
||||
|
||||
Reference in New Issue
Block a user