diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2002-09-26 23:35:52 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2002-09-26 23:35:52 +0000 |
commit | 8cbf2e0cf5239223d45517f344933375a018ad64 (patch) | |
tree | d7b3aa30c00e535a65364adb3dad6e169601811b /etc/hosts | |
parent | 21dfcd9017b0afa934995b5ebf0b30c49e64025a (diff) |
Bring the /etc/myname file installed from etcXX.tgz into line with the
one created during an install by making the name it contains a FQDN.
Make the /etc/hosts file installed from etcXX.tgz internally consistant
by including a valid entry for the name in /etc/myname.
These two files will 'survive' the install process only if the user
chooses to *not* configure the network. In that scenario these changes
silence the sendmail complaints about 'My unqualified host name ...'.
ok deraadt@.
Diffstat (limited to 'etc/hosts')
-rw-r--r-- | etc/hosts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/hosts b/etc/hosts index b6c9dbe8bb6..1e69b477c7c 100644 --- a/etc/hosts +++ b/etc/hosts @@ -1,4 +1,4 @@ -# $OpenBSD: hosts,v 1.10 2002/03/17 23:19:20 krw Exp $ +# $OpenBSD: hosts,v 1.11 2002/09/26 23:35:51 krw Exp $ # # Host Database # @@ -9,4 +9,5 @@ # ::1 localhost.my.domain localhost 127.0.0.1 localhost.my.domain localhost -192.168.254.254 noname +::1 noname.my.domain noname +127.0.0.1 noname.my.domain noname |