summaryrefslogtreecommitdiffstats
path: root/modules/retiolum/bin
diff options
context:
space:
mode:
authortv <tv@also>2011-05-28 12:32:20 +0200
committertv <tv@also>2011-05-28 12:32:20 +0200
commit358b8914cd2568e6314ed9b051bfeedbea41b732 (patch)
tree8ee41bb2cd43c34c924de08f414b7b4c5e41a799 /modules/retiolum/bin
parent9144bdf0004db1f3f1aa6c99339fd239caa41d8e (diff)
retiolum//hosts: sort output
Diffstat (limited to 'modules/retiolum/bin')
-rwxr-xr-xmodules/retiolum/bin/hosts2
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