Add an extra /etc/hosts entry per advice of Joerg.
This commit is contained in:
parent
e31cd8d813
commit
574bbec032
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: config.c,v 1.39 1996/06/29 02:22:39 jkh Exp $
|
||||
* $Id: config.c,v 1.41 1996/06/29 03:43:17 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -411,6 +411,7 @@ configResolv(void)
|
||||
}
|
||||
fprintf(fp, "127.0.0.1\t\tlocalhost.%s localhost\n", dp ? dp : "my.domain");
|
||||
fprintf(fp, "%s\t\t%s %s\n", cp, hp, cp2);
|
||||
fprintf(fp, "%s\t\t%s.\n", cp, hp);
|
||||
fclose(fp);
|
||||
if (isDebug())
|
||||
msgDebug("Wrote entry for %s to /etc/hosts\n", cp);
|
||||
|
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: config.c,v 1.39 1996/06/29 02:22:39 jkh Exp $
|
||||
* $Id: config.c,v 1.41 1996/06/29 03:43:17 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -411,6 +411,7 @@ configResolv(void)
|
||||
}
|
||||
fprintf(fp, "127.0.0.1\t\tlocalhost.%s localhost\n", dp ? dp : "my.domain");
|
||||
fprintf(fp, "%s\t\t%s %s\n", cp, hp, cp2);
|
||||
fprintf(fp, "%s\t\t%s.\n", cp, hp);
|
||||
fclose(fp);
|
||||
if (isDebug())
|
||||
msgDebug("Wrote entry for %s to /etc/hosts\n", cp);
|
||||
|
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: config.c,v 1.39 1996/06/29 02:22:39 jkh Exp $
|
||||
* $Id: config.c,v 1.41 1996/06/29 03:43:17 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -411,6 +411,7 @@ configResolv(void)
|
||||
}
|
||||
fprintf(fp, "127.0.0.1\t\tlocalhost.%s localhost\n", dp ? dp : "my.domain");
|
||||
fprintf(fp, "%s\t\t%s %s\n", cp, hp, cp2);
|
||||
fprintf(fp, "%s\t\t%s.\n", cp, hp);
|
||||
fclose(fp);
|
||||
if (isDebug())
|
||||
msgDebug("Wrote entry for %s to /etc/hosts\n", cp);
|
||||
|
Loading…
Reference in New Issue
Block a user