diff options
| author | Makoto Matsushita <matusita@FreeBSD.org> | 2001-12-01 13:13:27 +0000 |
|---|---|---|
| committer | Makoto Matsushita <matusita@FreeBSD.org> | 2001-12-01 13:13:27 +0000 |
| commit | aab37bd55cd13d31ba4790059c3b53b95c943795 (patch) | |
| tree | 590760d07664c5db6f664bd007ef13ccaab8695b /usr.sbin | |
| parent | 44eff22f2a2f67b323ea4168ebe46b4e690bf42e (diff) | |
Notes
Diffstat (limited to 'usr.sbin')
| -rw-r--r-- | usr.sbin/sade/Makefile | 2 | ||||
| -rw-r--r-- | usr.sbin/sade/install.c | 9 | ||||
| -rw-r--r-- | usr.sbin/sade/sade.h | 1 | ||||
| -rw-r--r-- | usr.sbin/sysinstall/Makefile | 2 | ||||
| -rw-r--r-- | usr.sbin/sysinstall/install.c | 9 | ||||
| -rw-r--r-- | usr.sbin/sysinstall/options.c | 2 | ||||
| -rw-r--r-- | usr.sbin/sysinstall/sysinstall.h | 1 |
7 files changed, 2 insertions, 24 deletions
diff --git a/usr.sbin/sade/Makefile b/usr.sbin/sade/Makefile index bbfff380c5ef..660bd9e449df 100644 --- a/usr.sbin/sade/Makefile +++ b/usr.sbin/sade/Makefile @@ -2,7 +2,7 @@ PROG= sysinstall MAN= sysinstall.8 -SRCS= anonFTP.c cdrom.c command.c config.c devices.c dhcp.c kget.c \ +SRCS= anonFTP.c cdrom.c command.c config.c devices.c dhcp.c \ disks.c dispatch.c dist.c dmenu.c doc.c dos.c floppy.c \ ftp.c globals.c http.c index.c install.c installUpgrade.c keymap.c \ label.c main.c makedevs.c media.c menus.c misc.c modules.c \ diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c index 83357b247eb0..b2399f84b726 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); diff --git a/usr.sbin/sade/sade.h b/usr.sbin/sade/sade.h index 3653c3256085..cc40882492d4 100644 --- a/usr.sbin/sade/sade.h +++ b/usr.sbin/sade/sade.h @@ -126,7 +126,6 @@ #define VAR_IPV6_ENABLE "ipv6_enable" #define VAR_IPV6ADDR "ipv6addr" #define VAR_KEYMAP "keymap" -#define VAR_KGET "kget" #define VAR_LABEL "label" #define VAR_LABEL_COUNT "labelCount" #define VAR_LINUX_ENABLE "linux_enable" diff --git a/usr.sbin/sysinstall/Makefile b/usr.sbin/sysinstall/Makefile index bbfff380c5ef..660bd9e449df 100644 --- a/usr.sbin/sysinstall/Makefile +++ b/usr.sbin/sysinstall/Makefile @@ -2,7 +2,7 @@ PROG= sysinstall MAN= sysinstall.8 -SRCS= anonFTP.c cdrom.c command.c config.c devices.c dhcp.c kget.c \ +SRCS= anonFTP.c cdrom.c command.c config.c devices.c dhcp.c \ disks.c dispatch.c dist.c dmenu.c doc.c dos.c floppy.c \ ftp.c globals.c http.c index.c install.c installUpgrade.c keymap.c \ label.c main.c makedevs.c media.c menus.c misc.c modules.c \ diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c index 83357b247eb0..b2399f84b726 100644 --- a/usr.sbin/sysinstall/install.c +++ b/usr.sbin/sysinstall/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); diff --git a/usr.sbin/sysinstall/options.c b/usr.sbin/sysinstall/options.c index bf822391a601..9bd036044488 100644 --- a/usr.sbin/sysinstall/options.c +++ b/usr.sbin/sysinstall/options.c @@ -148,8 +148,6 @@ static Option Options[] = { OPT_IS_VAR, NEWFS_PROMPT, VAR_NEWFS_ARGS, varCheck }, { "Fixit Console", "Which tty to use for the Fixit action.", OPT_IS_FUNC, fixitTtyWhich, VAR_FIXIT_TTY, varCheck }, -{ "Config save", "Whether or not to save installation kernel config changes", - OPT_IS_VAR, NULL, VAR_KGET, varCheck }, { "Re-scan Devices", "Re-run sysinstall's initial device probe", OPT_IS_FUNC, deviceRescan }, { "Use Defaults", "Reset all values to startup defaults", diff --git a/usr.sbin/sysinstall/sysinstall.h b/usr.sbin/sysinstall/sysinstall.h index 3653c3256085..cc40882492d4 100644 --- a/usr.sbin/sysinstall/sysinstall.h +++ b/usr.sbin/sysinstall/sysinstall.h @@ -126,7 +126,6 @@ #define VAR_IPV6_ENABLE "ipv6_enable" #define VAR_IPV6ADDR "ipv6addr" #define VAR_KEYMAP "keymap" -#define VAR_KGET "kget" #define VAR_LABEL "label" #define VAR_LABEL_COUNT "labelCount" #define VAR_LINUX_ENABLE "linux_enable" |
