diff options
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 |