summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert "ar" Gerus <ar@bash.org.pl>2013-03-23 07:38:58 +0100
committerRobert "ar" Gerus <ar@bash.org.pl>2013-03-23 07:38:58 +0100
commit04105bfcd95d504c789a3d10862e3035258b425b (patch)
tree73c70a683a0d8fde64c3bf52625be65bd21c4fa9
parent7077a94512971ea7e5e5ad3edfc83e5a809373fa (diff)
downloadold-firewall-04105bfcd95d504c789a3d10862e3035258b425b.tar.gz
old-firewall-04105bfcd95d504c789a3d10862e3035258b425b.tar.bz2
old-firewall-04105bfcd95d504c789a3d10862e3035258b425b.zip
typo
-rw-r--r--fw.globals1
1 files changed, 1 insertions, 0 deletions
diff --git a/fw.globals b/fw.globals
index 8f682c0..e568a51 100644
--- a/fw.globals
+++ b/fw.globals
@@ -21,6 +21,7 @@ HOST_KASHA_WAN2="$(ip -4 a s dev eth0 | awk '$1 == "inet" && $2 != "192.168.0.11
# will allow us to do things like: if ${HAVE_WAN2}; then ...
if [[ ! -z "${HOST_KASHA_WAN2}" ]]; then
HAVE_WAN2="/bin/true"
+ HOST_KASHA_WAN2="${HOST_KASHA_WAN2%/*}"
else
HAVE_WAN2="/bin/false"
fi