diff options
Diffstat (limited to 'release/sysinstall/system.c')
-rw-r--r-- | release/sysinstall/system.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/release/sysinstall/system.c b/release/sysinstall/system.c index e5dc4a99f145..493bf60e7aa8 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$ + * $Id: system.c,v 1.77 1997/02/22 14:12:20 peter Exp $ * * Jordan Hubbard * @@ -20,6 +20,8 @@ #include <signal.h> #include <sys/reboot.h> #include <machine/console.h> +#include <sys/param.h> +#include <sys/mount.h> #include <sys/fcntl.h> #include <sys/ioctl.h> #include <sys/wait.h> @@ -84,6 +86,8 @@ systemInitialize(int argc, char **argv) setenv("PATH", "/stand:/bin:/sbin:/usr/sbin:/usr/bin:/mnt/bin:/mnt/sbin:/mnt/usr/sbin:/mnt/usr/bin:/usr/X11R6/bin", 1); setbuf(stdin, 0); setbuf(stderr, 0); + /* Remount root read/write in case it's R/O */ + mount(MOUNT_MFS, "/", MNT_WANTRDWR | MNT_UPDATE, NULL); } else { char hname[256]; |