diff options
author | jkh <jkh@FreeBSD.org> | 1996-03-19 11:51:36 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-03-19 11:51:36 +0000 |
commit | 59452b81ee0a6e623be5f55a96a49278b427632e (patch) | |
tree | 43c243c1d6d40ae12bc4c0498c301f6c1d93f082 /release | |
parent | 1fa4d692594eafbf8e84846f170b918ee0afc781 (diff) | |
download | FreeBSD-src-59452b81ee0a6e623be5f55a96a49278b427632e.zip FreeBSD-src-59452b81ee0a6e623be5f55a96a49278b427632e.tar.gz |
Use proper path to hostname
Diffstat (limited to 'release')
-rw-r--r-- | release/sysinstall/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/sysinstall/config.c b/release/sysinstall/config.c index 8b90941..ffc0025 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.18 1995/12/07 10:33:35 peter Exp $ + * $Id: config.c,v 1.19 1996/03/18 15:27:44 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -381,7 +381,7 @@ skip: if (cp && *cp != '0' && (hp = variable_get(VAR_HOSTNAME))) { char cp2[255]; - (void)vsystem("hostname %s", hp); + (void)vsystem("/bin/hostname %s", hp); fp = fopen("/etc/hosts", "w"); if (!index(hp, '.')) cp2[0] = '\0'; |