summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/install.c
diff options
context:
space:
mode:
authormatusita <matusita@FreeBSD.org>2001-12-01 13:13:27 +0000
committermatusita <matusita@FreeBSD.org>2001-12-01 13:13:27 +0000
commit733545376af6fdef0d00d89b8da1d7c087238614 (patch)
tree590760d07664c5db6f664bd007ef13ccaab8695b /usr.sbin/sade/install.c
parentece39f22797904f7bd0a197ee77ed602dc70c650 (diff)
downloadFreeBSD-src-733545376af6fdef0d00d89b8da1d7c087238614.zip
FreeBSD-src-733545376af6fdef0d00d89b8da1d7c087238614.tar.gz
Remove kget() feature, which is removed from 5-current kernel.
Since userconfig feature is implemented by tweaking variables (hint.*) with loader(8), we can put back an equivalent feature. Maybe the first step for this is to commit yokota-san's patch (add userconfig command for loader). Approved by: jkh
Diffstat (limited to 'usr.sbin/sade/install.c')
-rw-r--r--usr.sbin/sade/install.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c
index 83357b2..b2399f8 100644
--- a/usr.sbin/sade/install.c
+++ b/usr.sbin/sade/install.c
@@ -755,14 +755,6 @@ installFixupBin(dialogMenuItem *self)
/* All of this is done only as init, just to be safe */
if (RunningAsInit) {
#ifdef __i386__
- /* Snapshot any boot -c changes back to the new kernel */
- cp = variable_get(VAR_KGET);
- if (cp && (*cp == 'Y' || *cp == 'y')) {
- if ((kstat = kget("/boot/kernel.conf")) != NULL) {
- msgConfirm("Unable to save boot -c changes to new kernel,\n"
- "please see the debug screen (ALT-F2) for details.");
- }
- }
if ((fp = fopen("/boot/loader.conf", "a")) != NULL) {
if (!kstat || !OnVTY)
fprintf(fp, "# -- sysinstall generated deltas -- #\n");
@@ -1054,7 +1046,6 @@ installVarDefaults(dialogMenuItem *self)
/* Set default startup options */
variable_set2(VAR_RELNAME, getRelname(), 0);
variable_set2(VAR_CPIO_VERBOSITY, "high", 0);
- variable_set2(VAR_KGET, "YES", 0);
variable_set2(VAR_TAPE_BLOCKSIZE, DEFAULT_TAPE_BLOCKSIZE, 0);
variable_set2(VAR_INSTALL_ROOT, "/", 0);
variable_set2(VAR_INSTALL_CFG, "install.cfg", 0);
OpenPOWER on IntegriCloud