summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2011-12-26 22:47:01 +0100
committermakefu <github@syntax-fehler.de>2011-12-26 22:47:01 +0100
commit3e00f187af861b15c81cba6f0da1c64b00c13784 (patch)
tree4c49db02c963224cf8d134974085406fb4a40344
parente97debb48bb0fa7248bc5c8f020181bd5be37c38 (diff)
//retiolum/routing: verbose++
defaultroute is a bit more explicit about what happened
-rwxr-xr-xretiolum/scripts/routing/defaultroute.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/retiolum/scripts/routing/defaultroute.sh b/retiolum/scripts/routing/defaultroute.sh
index 9d7d6683..b7d703e8 100755
--- a/retiolum/scripts/routing/defaultroute.sh
+++ b/retiolum/scripts/routing/defaultroute.sh
@@ -40,7 +40,7 @@ do
host -4 $host | grep "has address" | awk '{ print $4 }' |
while read addr
do
- route $command $addr gw $defaultroute
+ route $command $addr gw $defaultroute && echo "$command routing to $addr via $defaultroute"
done
fi
done