diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1998-10-29 10:18:49 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1998-10-29 10:18:49 +0000 |
commit | f0382a39e4101cee5444163bbe4f8fd9977b2de1 (patch) | |
tree | e68ed0ed3ed0cf881fc835cfaf207e79cf38c838 /release | |
parent | 5eb8b44ca5a4ce2c4ded8cfb623cba97786c954a (diff) | |
download | src-f0382a39e4101cee5444163bbe4f8fd9977b2de1.tar.gz src-f0382a39e4101cee5444163bbe4f8fd9977b2de1.zip |
Add some debugging statments (only if DEBUG opt is set), to try pin down
the hangs many of us are experiencing.
Notes
Notes:
svn path=/head/; revision=40724
Diffstat (limited to 'release')
-rw-r--r-- | release/sysinstall/media.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/release/sysinstall/media.c b/release/sysinstall/media.c index c5ae93e653b2..95a2007f6722 100644 --- a/release/sysinstall/media.c +++ b/release/sysinstall/media.c @@ -4,7 +4,7 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated to essentially a complete rewrite. * - * $Id: media.c,v 1.88 1998/10/10 09:43:44 jkh Exp $ + * $Id: media.c,v 1.89 1998/10/12 23:45:07 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -387,7 +387,11 @@ mediaSetFTP(dialogMenuItem *self) msgDebug("port # = `%d'\n", FtpPort); } if (variable_get(VAR_NAMESERVER)) { + if (isDebug()) + msgDebug("Starting DNS.\n"); kickstart_dns(); + if (isDebug()) + msgDebug("Looking up hostname: %s.\n", hostname); if ((inet_addr(hostname) == INADDR_NONE) && (gethostbyname(hostname) == NULL)) { msgConfirm("Cannot resolve hostname `%s'! Are you sure that your\n" "name server, gateway and network interface are correctly configured?", hostname); |