diff options
author | Jaka Kranjc | 2007-06-09 16:45:30 +0200 |
---|---|---|
committer | Eric Sandall | 2007-06-11 09:54:55 -0700 |
commit | f96110a263c3b6139769548db479e61361c337db (patch) | |
tree | fea0af5181d94d2ee8f4faea624dcfaa68330150 | |
parent | 3c572f79fc8c150a27ef20ad0cbd070e4a7b9ab5 (diff) |
iana-etc: install /etc/hosts #13075
(cherry picked from commit 52660abcecffc8ba8fa362ada9a84c91df2bc7cd)
-rw-r--r-- | smgl/iana-etc/HISTORY | 4 | ||||
-rwxr-xr-x | smgl/iana-etc/INSTALL | 3 | ||||
-rw-r--r-- | smgl/iana-etc/hosts | 12 |
3 files changed, 18 insertions, 1 deletions
diff --git a/smgl/iana-etc/HISTORY b/smgl/iana-etc/HISTORY index 3fd3d25f3a..7354fede8d 100644 --- a/smgl/iana-etc/HISTORY +++ b/smgl/iana-etc/HISTORY @@ -1,3 +1,7 @@ +2007-06-09 Jaka Kranjc <lynxlynxlynx@sourcemage.org> + * INSTALL: install hosts + * hosts: added /etc/hosts stub #13075 + 2006-11-15 Treeve Jelbert <treeve@sourcemage.org> * DETAILS: version 2.20 diff --git a/smgl/iana-etc/INSTALL b/smgl/iana-etc/INSTALL index 958fa0de74..99d6eca87b 100755 --- a/smgl/iana-etc/INSTALL +++ b/smgl/iana-etc/INSTALL @@ -1 +1,2 @@ -make install PREFIX=${INSTALL_ROOT} +make install PREFIX="$INSTALL_ROOT" && +install_config_file "$SPELL_DIRECTORY/hosts" "$INSTALL_ROOT/etc/hosts" diff --git a/smgl/iana-etc/hosts b/smgl/iana-etc/hosts new file mode 100644 index 0000000000..0349fedd7e --- /dev/null +++ b/smgl/iana-etc/hosts @@ -0,0 +1,12 @@ +# +# hosts This file describes a number of hostname-to-address +# mappings for the TCP/IP subsystem. It is mostly +# used at boot time, when no name servers are running. +# On small systems, this file can be used instead of a +# "named" name server. Just add the names, addresses +# and any aliases to this file... +# + +127.0.0.1 localhost + +# End of hosts. |