diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1997-01-01 12:36:09 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1997-01-01 12:36:09 +0000 |
| commit | 434a0eeb388a2bae5d38a863fe3f6fa2d104fc38 (patch) | |
| tree | 7c9eaed919b2052c59d74bdf3a7cebd68bf30b04 /release/sysinstall/network.c | |
| parent | fa5f4e4e2d09c846cc72e47f126eb3cad3e8e35e (diff) | |
Notes
Diffstat (limited to 'release/sysinstall/network.c')
| -rw-r--r-- | release/sysinstall/network.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/release/sysinstall/network.c b/release/sysinstall/network.c index 8b342ff368d4..c5a07b7f14f8 100644 --- a/release/sysinstall/network.c +++ b/release/sysinstall/network.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: network.c,v 1.23 1996/12/11 09:35:03 jkh Exp $ + * $Id: network.c,v 1.24 1996/12/12 08:23:50 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -251,6 +251,9 @@ startPPP(Device *devp) return 0; } + if (isDebug()) + msgDebug("About to start PPP on device %s @ %s baud. Provider = %s\n", devp->devname, speed, provider); + if (!Fake && !(pid = fork())) { int i, fd; struct termios foo; @@ -260,10 +263,11 @@ startPPP(Device *devp) close(i); /* We're going over to VTY2 */ - DebugFD = fd = open("/dev/ttyv2", O_RDWR); + fd = open("/dev/ttyv2", O_RDWR); ioctl(0, TIOCSCTTY, &fd); dup2(0, 1); dup2(0, 2); + DebugFD = 2; if (login_tty(fd) == -1) msgDebug("ppp: Can't set the controlling terminal.\n"); signal(SIGTTOU, SIG_IGN); |
