summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert "ar" Gerus <ar@bash.org.pl>2013-05-12 17:34:22 +0200
committerRobert "ar" Gerus <ar@bash.org.pl>2013-05-12 17:34:22 +0200
commit78b33b89425de2f5eab34f38de381702f7f249b0 (patch)
treeb78a7bd431287957da9ee6bb1319f972aee1e208
parent3c26dc8d41d2e4b8500853051279d323c0769a71 (diff)
downloadold-firewall-78b33b89425de2f5eab34f38de381702f7f249b0.tar.gz
old-firewall-78b33b89425de2f5eab34f38de381702f7f249b0.tar.bz2
old-firewall-78b33b89425de2f5eab34f38de381702f7f249b0.zip
one more place
-rw-r--r--fw.globals2
1 files changed, 1 insertions, 1 deletions
diff --git a/fw.globals b/fw.globals
index 4c273cc..fea67f8 100644
--- a/fw.globals
+++ b/fw.globals
@@ -18,7 +18,7 @@ HOST_AMANOJAKU="10.24.20.250"
#ROUTER
HOST_KASHA="10.24.0.1"
HOST_KASHA_WAN="192.168.0.11"
-HOST_KASHA_WAN2="$(ip -4 a s dev eth0 | awk '$1 == "inet" && $2 != "192.168.0.11/24" { print $2; exit }')"
+HOST_KASHA_WAN2="$(ip -4 a s dev ${IF_WAN} | awk '$1 == "inet" && $2 != "192.168.0.11/24" { print $2; exit }')"
# will allow us to do things like: if ${HAVE_WAN2}; then ...
if [[ ! -z "${HOST_KASHA_WAN2}" ]]; then
HAVE_WAN2="/bin/true"