diff options
author | tv <tv@also> | 2011-05-28 12:32:20 +0200 |
---|---|---|
committer | tv <tv@also> | 2011-05-28 12:32:20 +0200 |
commit | 358b8914cd2568e6314ed9b051bfeedbea41b732 (patch) | |
tree | 8ee41bb2cd43c34c924de08f414b7b4c5e41a799 /modules | |
parent | 9144bdf0004db1f3f1aa6c99339fd239caa41d8e (diff) |
retiolum//hosts: sort output
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/retiolum/bin/hosts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/retiolum/bin/hosts b/modules/retiolum/bin/hosts index e0a3d5fe..6939f52c 100755 --- a/modules/retiolum/bin/hosts +++ b/modules/retiolum/bin/hosts @@ -7,5 +7,5 @@ cd /etc/tinc/$netname/hosts for i in `ls`; do sed -rn 's|^ *Subnet *= *([^ /]*)(/[0-9]*)? *$|\1\t'$i' '$i'.'$netname'|p' $i -done +done | sort |