summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-07-02 09:12:34 +0000
committerjkh <jkh@FreeBSD.org>1996-07-02 09:12:34 +0000
commit574bbec0321f32ff8eff088282ec23625f33d2c7 (patch)
tree6a3e25b946dcfe111938bd4e6fba853536c20b15 /usr.sbin/sysinstall
parente31cd8d81396583d55cfbde309652976190f3498 (diff)
downloadFreeBSD-src-574bbec0321f32ff8eff088282ec23625f33d2c7.zip
FreeBSD-src-574bbec0321f32ff8eff088282ec23625f33d2c7.tar.gz
Add an extra /etc/hosts entry per advice of Joerg.
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r--usr.sbin/sysinstall/config.c3
1 files changed, 2 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud