summaryrefslogtreecommitdiffstats
path: root/retiolum
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2011-12-24 15:37:42 +0100
committerlassulus <lassulus@googlemail.com>2011-12-24 15:37:42 +0100
commit43bf246a44e5ca222c6596d02f0546b77bfd53cf (patch)
tree4d4bd19bc613fcb26ab58a4b096e835f2e65155b /retiolum
parent056f7ad405dc6e1d9e59a185bdb5378627e6acbd (diff)
fixed /etc/hosts generation
Diffstat (limited to 'retiolum')
-rwxr-xr-xretiolum/bin/update_tinc_hosts2
1 files changed, 1 insertions, 1 deletions
diff --git a/retiolum/bin/update_tinc_hosts b/retiolum/bin/update_tinc_hosts
index cec2740a..b3529a7f 100755
--- a/retiolum/bin/update_tinc_hosts
+++ b/retiolum/bin/update_tinc_hosts
@@ -17,7 +17,7 @@ es='# END OF RETIOLUM'
case "${*-I am made of stupid}" in
(start|restart)
- hosts | grep ^42 | $0 replace magic
+ hosts | grep -P "^(10|42)" | $0 replace magic
;;
(stop)
$0 clear magic