From 43bf246a44e5ca222c6596d02f0546b77bfd53cf Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 24 Dec 2011 15:37:42 +0100 Subject: fixed /etc/hosts generation --- retiolum/bin/update_tinc_hosts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'retiolum') 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 -- cgit v1.2.3