summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/main.c
Commit message (Collapse)AuthorAgeFilesLines
* Add a function driverFloppyCheck() that asks the user if they would like tojhb2003-01-151-0/+6
| | | | | | | | | load drivers from the driver floppy if the "driver_floppy" variable is set in the kernel environment and call this function after probing devices but before displaying the main menu. X-MFC after: as soon as I finish committing to current Approved by: re@ (blanket)
* * Negative #if's are harder to read as they don't tell exactly what archobrien2002-10-111-1/+1
| | | | | | | | | something applies to. So change #ifndef to an explicit list of defines. * Treate sparc64 and ia64 as 64-bit platforms, which means larger roots. * sparc64 should halt back to the firmware, not reset. * sparc64 doesn't need to play MS-DOS/BIOS partition crap games. Reviewed by: jake
* Only build and link the pccard module on architectures that support it (andmurray2002-03-291-0/+2
| | | | that have room for pccardd on mfsroot.flp).
* DTRT in the restart casejkh2001-10-121-1/+3
|
* Add a couple of functions to create persistent variables that willmurray2001-09-241-6/+16
| | | | | | | | | | | survive a sysinstall Ctrl-C -> 'Restart'. This fixes another annoying bug where restarting sysinstall will try to reload kernel modules and do other external things that have already been done. For now, use these persistent variables to keep track of module, usbd, and pccardd initialization. Bug found by: rwatson MFC after: 1 week
* Various changes to the messages so that they are now appropriate for bothnik2001-06-271-1/+1
| | | | CD and DVD releases of FreeBSD.
* Correct message to say "shutting down" rather than just "shutting"jkh2001-03-291-3/+3
| | | | Noticed by: Joachim Strömbergson <watchman@ludd.luth.se>
* Adapt sysinstall to use the new msgNoYes() function which assumesjkh2000-12-141-2/+2
| | | | | | no as a default. Sysinstall should be both less dangerous and less annoying as a result of this change, though that's just my opinion (since they're the defaults which annoy ME the least :).
* Moved driver modules for some PCI NICs and PCCARD-only NICs to mfsroot.flp.hosokawa2000-10-311-0/+3
| | | | | | http://people.freebsd.org/~hosokawa/driver-floppy/ for details. Reviewed by: current@FreeBSD.org
* Teach sysinstall how to restart itself on Ctrl-C (as an addition to its oldeivind2000-10-291-0/+5
| | | | | | tricks of rebooting and continuing where it was.) Reviewed by: jkh, jhb
* - Remove obsolete PC-card boot.flp hack. It was for making both PC-cardnyan2000-06-051-0/+9
| | | | | | | | | | | | | | boot.flp and plain boot.flp. - Clean up crunchgen related routine. - Add PC-98 support. TODO: o Documentation o Fix some messages for PC-98 o Decrease the size of fixit.flp to 1.2MB o I18N (See: http://www.jp.FreeBSD.org/BootAsia/index.html) No response from jkh
* Add support for USB to sysinstall. This includes running usbd andjhb2000-05-121-0/+3
| | | | | | setting 'usbd_enable' in rc.conf during nwe installs if USB is detected. Also, since usbd already handles USB mice automatically, note that the mouse setup section in sysinstall only applies to non-USB mice.
* Include CDs in the list of things to remove before rebooting.jkh2000-02-111-1/+1
|
* Eliminate PC-card installation floppy and add PC-card support forhosokawa2000-01-141-3/+0
| | | | generic installation floppy.
* Ignore SIGPIPE by default.jkh2000-01-041-0/+1
| | | | | Submitted by: Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de> PR: 13900
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Use #include <pccard_conf.h> instead of -DPCCARD.hosokawa1999-07-061-1/+2
| | | | Now we don't have to make clean before make boot.flp's.
* Add bits of PAO that are non-controversial.markm1999-06-171-1/+6
| | | | Submitted by: Tatsumi HOSOKAWA
* Totally change the way variables are accounted for in sysinstall.jkh1999-02-051-2/+2
| | | | | | | | 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.
* Adapt sysinstall more fully to the alpha (deal with proper boot signatures,jkh1999-01-081-3/+9
| | | | | | don't present label editor, etc). Submitted by: dfr
* MF22: installEnvironment() fix, reshuffle, vidcontrol on correct vty.jkh1998-03-101-2/+4
|
* Edit a message so that people stop sending me weird emails. :)jkh1998-02-221-5/+4
|
* Much better dispatch code and scripting support.jkh1997-09-161-19/+3
| | | | Submitted by: pst
* Resurrect / implement some of the more esoteric scripting features,jkh1997-06-051-1/+3
| | | | such as partitioning a disk or overriding an interactive prompt.
* Sync with 2.2 and clean up some tortured english that was added.jkh1997-04-201-3/+14
|
* Some of my pending merge changes, Paul Traina's more flexible configjkh1997-03-191-27/+1
| | | | | file loading code. Submitted by: pst
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Change handling of bad signals; there are reasons why this is actuallyjkh1997-02-201-5/+1
| | | | not such a great idea.
* Read /etc/resolv.conf information as well as /etc/sysconfig info, makingjkh1997-02-151-3/+1
| | | | this a little more robust.
* o Try to be more aggressive about reading in old configuration datajkh1997-02-141-0/+3
| | | | | | | | | | | | | | | | | so that we're more useful in multi-user mode. This is still not 100%, but it pulls in a lot more than it used to. Some of the "composite" variables in /etc/sysconfig are going to take more work. o Always write /etc/resolv.conf and /etc/hosts if it makes sense to do so. o Reset media properly when reselecting. Longstanding bogon. o Pull SIGPIPE handling out of package.c; I'm actually hoping to handle this differently shortly. o Fix bug where cancel in TCP setup dialog still checked data fields. I think this closes a PR, but I will have to go look.
* Cosmetic tweaks.jkh1997-01-291-3/+3
| | | | Also redirect stderr to Debug when running multiuser.
* Death to another bad idea: Don't auto-mount CDROM on startup.jkh1997-01-291-7/+0
|
* Implement compiled-in config file handling a little better - nowjkh1997-01-181-1/+1
| | | | | that there's no filesystem on the boot.flp image we need to prompt for the configuration floppy.
* Pass LOAD_CONFIG_FILE variable through, if set (makes Paul Traina's lifejkh1997-01-171-2/+1
| | | | | easier). Only run install.cfg if running as init. It's something of a security hole otherwise. :)
* Clean up a long-standing bug in the scripting code. You could set variables,jkh1997-01-161-19/+13
| | | | | but you couldn't call functions! Now you can do both. Guard against whitespace pollution in variable names.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Do something I've wanted to do for quite some time - collapse all thejkh1997-01-031-2/+1
| | | | | common layout code into some work functions and make all the layout-using routine adopt them. Also reorganize includes and generally clean up.
* Undo one of my memory optimization hacks - it actually made things morejkh1996-12-121-4/+2
| | | | complicated.
* Fix some bogons in my close() handling.jkh1996-12-121-3/+7
|
* Be more efficient in how we use memory (stumbled across while looking forjkh1996-12-111-6/+7
| | | | | | something else) for attributes and variables. Remove stack-stomper in sstrncpy().
* Do a few things I've been threatening to do for a long time:jkh1996-12-111-10/+10
| | | | | | | | | | | | | | | | 1. Don't use the MSDOSFS code for accessing FreeBSD distribution data. Use Robert Nordier's stand-alone DOS I/O library for the purpose. It this works as well as Robert says it does, it should drastically reduce (or even eliminate) our "I can't install from my DOS partition!" calls. 2. As a result of the above, go to stdio file descriptors for all media types. 3. Taking advantage of #2, start using libftpio for FTP transfers instead of maintaining our own parallel version of the FTP transfer code. Yay! I ripped something out for a change! #1 Submitted-By: Robert Nordier <rnordier@iafrica.com>
* If /install.cfg exists on the local floppy (or if LOAD_CONFIG_FILE is definedpst1996-09-261-23/+46
| | | | | | | and the user inserts a floppy), read the config file to pre-define variables for a custom installation. [Note: I fixed one bug in LOAD_CONFIG_FILE code, but it's still not perfect.]
* Remove some bogosities I introduced with the init file hack (not serious,jkh1996-09-151-1/+4
| | | | just bogus). Also turn off by default - whoops!
* Various minor improvements.jkh1996-09-081-1/+27
|
* Fix some bogus argument handling - whups! James was right..jkh1996-07-221-2/+3
|
* Fix something I broke with CDROM installation (well, I knew my firstjkh1996-07-121-8/+8
| | | | test CD would turn at least one bug up :-).
* Make it plainer how to exit.jkh1996-07-021-2/+2
|
* Allow argv[0] to be a command also.jkh1996-06-261-7/+17
|
* Make CDROMs automagically select as the default media type.jkh1996-06-081-1/+7
| | | | | If you're running multi-user, check off items in the packages menu based on whether or not they're actually installed.
* Only look at command-line args if we're not running as init - duh!jkh1996-05-281-2/+2
| | | | Thanks, David.
OpenPOWER on IntegriCloud