diff options
author | lassulus <lassulus@googlemail.com> | 2012-01-24 21:43:27 +0100 |
---|---|---|
committer | lassulus <lassulus@googlemail.com> | 2012-01-24 21:43:27 +0100 |
commit | afb451db4d97cf89a723943ca269d52b4ca44819 (patch) | |
tree | 215e58feb93546972ab0fd9ced3fa09d57f7c3fe /retiolum/scripts/routing/defaultroute.sh | |
parent | 088447447b7ec58937c3c61484ff7022a7d0bc48 (diff) |
compression
Diffstat (limited to 'retiolum/scripts/routing/defaultroute.sh')
-rwxr-xr-x | retiolum/scripts/routing/defaultroute.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/retiolum/scripts/routing/defaultroute.sh b/retiolum/scripts/routing/defaultroute.sh index f5a1a465..d54e8bcf 100755 --- a/retiolum/scripts/routing/defaultroute.sh +++ b/retiolum/scripts/routing/defaultroute.sh @@ -34,5 +34,5 @@ cat $tincdir/tinc.conf | grep ConnectTo | cut -b 13- | while read host do addr=$(cat $tincdir/hosts/$host | grep Address | cut -b 11-) - echo route $command $addr gw $defaultroute + route $command $addr gw $defaultroute && echo $command $addr via $defaultroute done |