diff options
| author | root <root@gum.krebsco.de> | 2015-03-20 09:33:26 +0100 | 
|---|---|---|
| committer | root <root@gum.krebsco.de> | 2015-03-20 09:33:26 +0100 | 
| commit | b85a492a50613cdece54cdafea68bef2fa511191 (patch) | |
| tree | 2fc63bd289746a744c1482efe6ebaf3804aba4fa | |
| parent | 6a291f4c34122e49e60fb7110394df8832893fbb (diff) | |
retiolum/bin/hosts: make $netname variable again
| -rwxr-xr-x | retiolum/bin/hosts | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/retiolum/bin/hosts b/retiolum/bin/hosts index 3a8dbcc9..1c9f1182 100755 --- a/retiolum/bin/hosts +++ b/retiolum/bin/hosts @@ -8,7 +8,7 @@ cd /etc/tinc/$netname/hosts  for i in `ls`; do    hname="$i $i.retiolum"    for j in `sed -En 's|^ *Aliases *= *(.+)|\1|p' $i`;do -    hname="${hname} $j.retiolum $j" +    hname="${hname} $j.$netname $j"    done    sed -En '              s|^ *Subnet *= *([^ /]*)(/[0-9]*)? *$|\1   '"$hname"'|p | 
