diff options
author | lassulus <lassulus@googlemail.com> | 2011-12-24 15:37:42 +0100 |
---|---|---|
committer | lassulus <lassulus@googlemail.com> | 2011-12-24 15:37:42 +0100 |
commit | 43bf246a44e5ca222c6596d02f0546b77bfd53cf (patch) | |
tree | 4d4bd19bc613fcb26ab58a4b096e835f2e65155b /retiolum | |
parent | 056f7ad405dc6e1d9e59a185bdb5378627e6acbd (diff) |
fixed /etc/hosts generation
Diffstat (limited to 'retiolum')
-rwxr-xr-x | retiolum/bin/update_tinc_hosts | 2 |
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 |