diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-05-26 08:41:52 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-05-26 08:41:52 +0000 |
commit | 223705ba7e10240d3074d5f3194483fcbf25b5ac (patch) | |
tree | 9b1782f6ca1efa625c82d9c92b053a09b3536c85 /release/sysinstall/system.c | |
parent | a7acf629b6a1a575e81968be19b9226790d246f9 (diff) | |
download | src-223705ba7e10240d3074d5f3194483fcbf25b5ac.tar.gz src-223705ba7e10240d3074d5f3194483fcbf25b5ac.zip |
Totally revamp the TCP/IP dialog; now network selection makes a bit more sense.
Root floppy (which actually may be able to go completely away at some point
soon!) is now loadable from ftp/nfs/dos as well as CDROM and (of course)
floppy.
Fix more problems on Poul's Gripe List.
Notes
Notes:
svn path=/head/; revision=8756
Diffstat (limited to 'release/sysinstall/system.c')
-rw-r--r-- | release/sysinstall/system.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/release/sysinstall/system.c b/release/sysinstall/system.c index 6fe565b6a4b7..2fdb0a77aaf4 100644 --- a/release/sysinstall/system.c +++ b/release/sysinstall/system.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: system.c,v 1.33 1995/05/25 01:52:03 jkh Exp $ + * $Id: system.c,v 1.34 1995/05/25 18:48:31 jkh Exp $ * * Jordan Hubbard * @@ -60,7 +60,6 @@ systemInitialize(int argc, char **argv) close(0); open("/bootcd/dev/console", O_RDWR); close(1); dup(0); close(2); dup(0); - RootFD = open("/floppies/root.flp", O_RDONLY); OnCDROM = TRUE; chroot("/bootcd"); } else { @@ -70,9 +69,9 @@ systemInitialize(int argc, char **argv) } printf("%s running as init\n", argv[0]); - ioctl(0, TIOCSCTTY, (char *)NULL); + i = ioctl(0, TIOCSCTTY, (char *)NULL); setlogin("root"); - setenv("PATH", "/stand:/mnt/bin:/mnt/sbin:/mnt/usr/sbin:/mnt/usr/bin", 1); + setenv("PATH", "/stand:/bin:/sbin:/usr/sbin:/mnt/bin:/mnt/sbin:/mnt/usr/sbin:/mnt/usr/bin", 1); setbuf(stdin, 0); setbuf(stderr, 0); } |