diff options
author | jkh <jkh@FreeBSD.org> | 1996-07-02 09:12:34 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-07-02 09:12:34 +0000 |
commit | 574bbec0321f32ff8eff088282ec23625f33d2c7 (patch) | |
tree | 6a3e25b946dcfe111938bd4e6fba853536c20b15 | |
parent | e31cd8d81396583d55cfbde309652976190f3498 (diff) | |
download | FreeBSD-src-574bbec0321f32ff8eff088282ec23625f33d2c7.zip FreeBSD-src-574bbec0321f32ff8eff088282ec23625f33d2c7.tar.gz |
Add an extra /etc/hosts entry per advice of Joerg.
-rw-r--r-- | release/sysinstall/config.c | 3 | ||||
-rw-r--r-- | usr.sbin/sade/config.c | 3 | ||||
-rw-r--r-- | usr.sbin/sysinstall/config.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/release/sysinstall/config.c b/release/sysinstall/config.c index f818d5f..823857a 100644 --- a/release/sysinstall/config.c +++ b/release/sysinstall/config.c @@ -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 @@ skip: } 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); diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c index f818d5f..823857a 100644 --- a/usr.sbin/sade/config.c +++ b/usr.sbin/sade/config.c @@ -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 @@ skip: } 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); diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c index f818d5f..823857a 100644 --- a/usr.sbin/sysinstall/config.c +++ b/usr.sbin/sysinstall/config.c @@ -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 @@ skip: } 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); |