On Tue, Jun 08, 2004 at 05:19:29PM +0200, Thomas Hood wrote:
> Second, one wants "hostname --fqdn" to yield the hostname, not "localhost".

I think i can fix that in hostname, by looking at the first entry in the
aliases which is not "localhost" and which has dots. and if there is none
with dots then use the first which is not localhost, and only of none found,
allow localhost to be returned. That would remove the requirement of
multiple 127.0.0.1 lines.

Greetings
Bernd
-- 
  (OO)      -- [EMAIL PROTECTED] --
 ( .. )      [EMAIL PROTECTED],linux.de,debian.org}  http://www.eckes.org/
  o--o     1024D/E383CD7E  [EMAIL PROTECTED]  v:+497211603874  f:+497211603875
(O____O)  When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to