aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/installUpgrade.c
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-04-01 21:35:24 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-04-01 21:35:24 +0000
commit2e73237d1ba2859eb9539b5f36888cd8d778358f (patch)
tree8be7509f25eecde0b817510b46a17463663ec68d /usr.sbin/sysinstall/installUpgrade.c
parent8be36692c39581d36526679c1e91e2a9bffdad5c (diff)
downloadsrc-2e73237d1ba2859eb9539b5f36888cd8d778358f.tar.gz
src-2e73237d1ba2859eb9539b5f36888cd8d778358f.zip
Our persistent-state, large temporary file dir is /VAR/tmp, not /USR/tmp.
Notes
Notes: svn path=/head/; revision=93595
Diffstat (limited to 'usr.sbin/sysinstall/installUpgrade.c')
-rw-r--r--usr.sbin/sysinstall/installUpgrade.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/installUpgrade.c b/usr.sbin/sysinstall/installUpgrade.c
index e32f11ee2be6..5b44b79094f8 100644
--- a/usr.sbin/sysinstall/installUpgrade.c
+++ b/usr.sbin/sysinstall/installUpgrade.c
@@ -267,7 +267,7 @@ installUpgrade(dialogMenuItem *self)
if (extractingBin) {
while (!*saved_etc) {
- char *cp = msgGetInput("/usr/tmp/etc", "Under which directory do you wish to save your current /etc?");
+ char *cp = msgGetInput("/var/tmp/etc", "Under which directory do you wish to save your current /etc?");
if (!cp || !*cp || Mkdir(cp)) {
if (msgYesNo("Directory was not specified, was invalid or user selected Cancel.\n\n"
@@ -452,7 +452,7 @@ installUpgradeNonInteractive(dialogMenuItem *self)
return DITEM_FAILURE;
}
- saved_etc = "/usr/tmp/etc";
+ saved_etc = "/var/tmp/etc";
Mkdir(saved_etc);
msgNotify("Preserving /etc directory..");
if (vsystem("tar -cpBf - -C /etc . | tar -xpBf - -C %s", saved_etc)) {