bugfix: Correct check for dmz-mode.

This commit is contained in:
Conrad Lara - KG6JEI 2014-05-08 23:16:24 -07:00
parent 9d6fe1bca4
commit b72ffed3cc
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ is_olsrgw=`cat /etc/config.mesh/_setup|grep -i olsrd_gw|cut -d ' ' -f 3`
echo "Setting routing rules."
if [ "$INTERFACE" == "wifi" ] || [ "$INTERFACE" == "dtdlink" ]; then
if [ -z /etc/config/dmz-mode ] ; then
if [ -e /etc/config/dmz-mode ] ; then
ip rule add pref 20010 iif $DEVICE lookup 29
fi
ip rule add pref 20020 iif $DEVICE lookup 30