summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/installUpgrade.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-02-15 02:22:47 +0000
committerjkh <jkh@FreeBSD.org>1999-02-15 02:22:47 +0000
commit2041081b716308ffdb767cfd629a96497f15c2b1 (patch)
tree30d1abc64ef7089e41c4cd6c8d6d7d770844f8bd /usr.sbin/sysinstall/installUpgrade.c
parent1f0aa9e3b41ba1306a69e15c929aaf32ecb10f59 (diff)
downloadFreeBSD-src-2041081b716308ffdb767cfd629a96497f15c2b1.zip
FreeBSD-src-2041081b716308ffdb767cfd629a96497f15c2b1.tar.gz
Write out new boot blocks on upgrade.
Diffstat (limited to 'usr.sbin/sysinstall/installUpgrade.c')
-rw-r--r--usr.sbin/sysinstall/installUpgrade.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/installUpgrade.c b/usr.sbin/sysinstall/installUpgrade.c
index 33b2209..fd3d2b5 100644
--- a/usr.sbin/sysinstall/installUpgrade.c
+++ b/usr.sbin/sysinstall/installUpgrade.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: installUpgrade.c,v 1.62 1999/02/05 22:15:49 jkh Exp $
+ * $Id: installUpgrade.c,v 1.63 1999/02/13 05:18:06 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -326,6 +326,8 @@ media:
}
}
+ if (extractingBin)
+ vsystem("disklabel -B `awk '$2~/\\/$/ {print substr($1, 6, 3)}' /etc/fstab`");
msgNotify("First stage of upgrade completed successfully!\n\n"
"Next comes stage 2, where we attempt to resurrect your /etc\n"
"directory!");
OpenPOWER on IntegriCloud