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

README (1010B)


      1 # hosts-gen
      2 
      3 This  is a simple framework to create your hosts file from many files in
      4 a hosts.d folder. It is usefull especially when you  have  a  frequently
      5 updated  part  of  the  hosts  file,  like a filter list for spam and it
      6 should be integrated into the main hosts file without any manual  inter‐
      7 vention.
      8 
      9 There  is  an  »examples«  folder which shows sources for various filter
     10 lists.
     11 
     12 ## Directory Structure
     13 
     14 The  hosts  parts are by default stored in /etc/hosts.d and will be read
     15 according to their standard sort order in ls(1). The file names have the
     16 form  of ’^[0‐9]*‐[^ ]’ (see the etc/hosts.d dir for the standard header
     17 and the localhost). Files can be easily excluded from being run  by  re‐
     18 moving the numbers in front of their name.
     19 
     20 ## How it works
     21 
     22 Install hosts-gen
     23 
     24 	sudo make install
     25 
     26 Just run
     27 
     28 	hosts-gen
     29 
     30 in  some  hook,  manually or as cronjob and your /etc/hosts file will be
     31 generated.
     32 
     33 ## Links
     34 
     35 GIT: git://git.r-36.net/hosts-gen
     36 E-MAIL: 20h@r-36.net
     37 
     38 Have fun!
     39