summaryrefslogtreecommitdiffstats
path: root/modules/retiolum/bin/hosts
diff options
context:
space:
mode:
authorFelix Richter <Felix.Richter@syntax-fehler.de>2011-05-29 15:48:47 +0200
committerFelix Richter <Felix.Richter@syntax-fehler.de>2011-05-29 15:48:47 +0200
commit590f55d10dd4ce2e00ecf422e38385d3c7bace29 (patch)
treea4e07d12b5763bd667438dce18ad092127ec4233 /modules/retiolum/bin/hosts
parent427bdf4e2093217f967384f785e3907930a74a21 (diff)
parente0ec5d2e8560ae433ee677622b24ba82dbe7630b (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'modules/retiolum/bin/hosts')
-rwxr-xr-xmodules/retiolum/bin/hosts11
1 files changed, 0 insertions, 11 deletions
diff --git a/modules/retiolum/bin/hosts b/modules/retiolum/bin/hosts
deleted file mode 100755
index 6939f52c..00000000
--- a/modules/retiolum/bin/hosts
+++ /dev/null
@@ -1,11 +0,0 @@
-#! /bin/sh
-set -euf
-
-netname=${1-retiolum}
-
-cd /etc/tinc/$netname/hosts
-
-for i in `ls`; do
- sed -rn 's|^ *Subnet *= *([^ /]*)(/[0-9]*)? *$|\1\t'$i' '$i'.'$netname'|p' $i
-done | sort
-