summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/system.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-04-28 09:35:59 +0000
committerjkh <jkh@FreeBSD.org>1997-04-28 09:35:59 +0000
commit77efe62cb71cd65711ebcb4e049f431ded0552f8 (patch)
tree6c241b94c440b7b1267ce990e8a340a63ec90ba6 /usr.sbin/sade/system.c
parent900d610a4e2729d03a7b5a58327f7e4c61ed2192 (diff)
downloadFreeBSD-src-77efe62cb71cd65711ebcb4e049f431ded0552f8.zip
FreeBSD-src-77efe62cb71cd65711ebcb4e049f431ded0552f8.tar.gz
Back out mount change here (which is the only branch it should have
occupied in the first place :)
Diffstat (limited to 'usr.sbin/sade/system.c')
-rw-r--r--usr.sbin/sade/system.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.sbin/sade/system.c b/usr.sbin/sade/system.c
index 493bf60..b66928b 100644
--- a/usr.sbin/sade/system.c
+++ b/usr.sbin/sade/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.77 1997/02/22 14:12:20 peter Exp $
+ * $Id: system.c,v 1.78 1997/04/28 06:15:49 jkh Exp $
*
* Jordan Hubbard
*
@@ -20,8 +20,6 @@
#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>
@@ -86,8 +84,6 @@ 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];
OpenPOWER on IntegriCloud