summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert "ar" Gerus <ar@bash.org.pl>2013-03-23 07:36:23 +0100
committerRobert "ar" Gerus <ar@bash.org.pl>2013-03-23 07:36:23 +0100
commitb1c6f069d918173865ead02059a34293e52f2db7 (patch)
tree401c00e4a24079f72c05e60a52f7f6e1ff188f1b
parentea88cd4a1aededb29b7cde0e8c939eebf3cd655a (diff)
downloadold-firewall-b1c6f069d918173865ead02059a34293e52f2db7.tar.gz
old-firewall-b1c6f069d918173865ead02059a34293e52f2db7.tar.bz2
old-firewall-b1c6f069d918173865ead02059a34293e52f2db7.tar.xz
old-firewall-b1c6f069d918173865ead02059a34293e52f2db7.zip
some debuging
-rw-r--r--fw.globals2
1 files changed, 2 insertions, 0 deletions
diff --git a/fw.globals b/fw.globals
index 175e8f0..1a8a3d7 100644
--- a/fw.globals
+++ b/fw.globals
@@ -17,6 +17,7 @@ HOST_AMANOJAKU="10.24.20.250"
#ROUTER
HOST_KASHA="10.24.0.1"
HOST_KASHA_WAN="192.168.0.11"
+set -x
HOST_KASHA_WAN2="$(ip -4 a s dev eth0 | 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
@@ -24,6 +25,7 @@ if [[ -z "${HOST_KASHA_WAN2}" ]]; then
else
HAVE_WAN2="/bin/false"
fi
+set +x
#AP
HOST_HYPERION="10.24.0.254"