hosts-gen

A little framework to generate /etc/hosts from /etc/hosts.d.
git clone git://r-36.net/hosts-gen
Log | Files | Refs | README | LICENSE

commit d3015d319d378390139455731b974569fbc2cd40
parent 6bb9c7733e17c917f8bcdd6e0ea3c3a6e3338af7
Author: Christoph Lohmann <20h@r-36.net>
Date:   Wed, 15 Apr 2015 09:45:46 +0200

Adding install instructions.

01-hosts.local is indented now right.

Thanks Ivan Tham <ivanthamjunhoe@gmail.com> for the patch!

Diffstat:
README | 4++++
etc/hosts.d/01-hosts.local | 2+-
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/README b/README @@ -19,6 +19,10 @@ moving the numbers in front of their name. ## How it works +Install hosts-gen + + sudo make install + Just run hosts-gen diff --git a/etc/hosts.d/01-hosts.local b/etc/hosts.d/01-hosts.local @@ -3,5 +3,5 @@ # #<ip-address> <hostname.domain.org> <hostname> -127.0.0.1 localhost.localdomain localhost +127.0.0.1 localhost.localdomain localhost