summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/package.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-02-05 22:15:52 +0000
committerjkh <jkh@FreeBSD.org>1999-02-05 22:15:52 +0000
commit75fb26219bd4805540359fb346c1c92a31926b61 (patch)
tree8b4fe6025e7aa70a6be932e3c42fb3d989e4533e /usr.sbin/sysinstall/package.c
parent8bd29729fb349a7454431e101ad436a191653e5e (diff)
downloadFreeBSD-src-75fb26219bd4805540359fb346c1c92a31926b61.zip
FreeBSD-src-75fb26219bd4805540359fb346c1c92a31926b61.tar.gz
Totally change the way variables are accounted for in sysinstall.
Now we know which variables are internal and which need to be backed to /etc/rc.conf.site. rc.conf is not touched now. Also kget kernel change information back properly and set up a loader.rc file to use it.
Diffstat (limited to 'usr.sbin/sysinstall/package.c')
-rw-r--r--usr.sbin/sysinstall/package.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/package.c b/usr.sbin/sysinstall/package.c
index da1ec9c..a1991a2 100644
--- a/usr.sbin/sysinstall/package.c
+++ b/usr.sbin/sysinstall/package.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: package.c,v 1.64 1997/09/17 16:18:16 pst Exp $
+ * $Id: package.c,v 1.65 1997/10/15 04:37:16 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -117,7 +117,7 @@ package_extract(Device *dev, char *name, Boolean depended)
/* Make a couple of paranoid locations for temp files to live if user specified none */
if (!variable_get(VAR_PKG_TMPDIR)) {
/* Set it to a location with as much space as possible */
- variable_set2(VAR_PKG_TMPDIR, "/usr/tmp");
+ variable_set2(VAR_PKG_TMPDIR, "/usr/tmp", 0);
}
Mkdir(variable_get(VAR_PKG_TMPDIR));
vsystem("chmod 1777 %s", variable_get(VAR_PKG_TMPDIR));
OpenPOWER on IntegriCloud