From 358b8914cd2568e6314ed9b051bfeedbea41b732 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 28 May 2011 12:32:20 +0200 Subject: retiolum//hosts: sort output --- modules/retiolum/bin/hosts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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 -- cgit v1.2.3