aboutsummaryrefslogtreecommitdiff
path: root/release/sysinstall/main.c
Commit message (Collapse)AuthorAgeFilesLines
* Sysinstall has been repocopied to src/usr.sbin/sysinstall and everythingJohn Baldwin2001-01-171-165/+0
| | | | | | | now uses the sources found there. Notes: svn path=/head/; revision=71150
* Adapt sysinstall to use the new msgNoYes() function which assumesJordan K. Hubbard2000-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 :). Notes: svn path=/head/; revision=70005
* Moved driver modules for some PCI NICs and PCCARD-only NICs to mfsroot.flp.Tatsumi Hosokawa2000-10-311-0/+3
| | | | | | | | | http://people.freebsd.org/~hosokawa/driver-floppy/ for details. Reviewed by: current@FreeBSD.org Notes: svn path=/head/; revision=68048
* Teach sysinstall how to restart itself on Ctrl-C (as an addition to its oldEivind Eklund2000-10-291-0/+5
| | | | | | | | | tricks of rebooting and continuing where it was.) Reviewed by: jkh, jhb Notes: svn path=/head/; revision=67862
* - Remove obsolete PC-card boot.flp hack. It was for making both PC-cardYoshihiro Takahashi2000-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 Notes: svn path=/head/; revision=61277
* Add support for USB to sysinstall. This includes running usbd andJohn Baldwin2000-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. Notes: svn path=/head/; revision=60417
* Include CDs in the list of things to remove before rebooting.Jordan K. Hubbard2000-02-111-1/+1
| | | | Notes: svn path=/head/; revision=57134
* Eliminate PC-card installation floppy and add PC-card support forTatsumi Hosokawa2000-01-141-3/+0
| | | | | | | generic installation floppy. Notes: svn path=/head/; revision=55942
* Ignore SIGPIPE by default.Jordan K. Hubbard2000-01-041-0/+1
| | | | | | | | Submitted by: Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de> PR: 13900 Notes: svn path=/head/; revision=55390
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50479
* Use #include <pccard_conf.h> instead of -DPCCARD.Tatsumi Hosokawa1999-07-061-1/+2
| | | | | | | Now we don't have to make clean before make boot.flp's. Notes: svn path=/head/; revision=48625
* Add bits of PAO that are non-controversial.Mark Murray1999-06-171-1/+6
| | | | | | | Submitted by: Tatsumi HOSOKAWA Notes: svn path=/head/; revision=47983
* Totally change the way variables are accounted for in sysinstall.Jordan K. Hubbard1999-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. Notes: svn path=/head/; revision=43685
* Adapt sysinstall more fully to the alpha (deal with proper boot signatures,Jordan K. Hubbard1999-01-081-3/+9
| | | | | | | | | don't present label editor, etc). Submitted by: dfr Notes: svn path=/head/; revision=42386
* MF22: installEnvironment() fix, reshuffle, vidcontrol on correct vty.Jordan K. Hubbard1998-03-101-2/+4
| | | | Notes: svn path=/head/; revision=34466
* Edit a message so that people stop sending me weird emails. :)Jordan K. Hubbard1998-02-221-5/+4
| | | | Notes: svn path=/head/; revision=33738
* Much better dispatch code and scripting support.Jordan K. Hubbard1997-09-161-19/+3
| | | | | | | Submitted by: pst Notes: svn path=/head/; revision=29517
* Resurrect / implement some of the more esoteric scripting features,Jordan K. Hubbard1997-06-051-1/+3
| | | | | | | such as partitioning a disk or overriding an interactive prompt. Notes: svn path=/head/; revision=26456
* Sync with 2.2 and clean up some tortured english that was added.Jordan K. Hubbard1997-04-201-3/+14
| | | | Notes: svn path=/head/; revision=25052
* Some of my pending merge changes, Paul Traina's more flexible configJordan K. Hubbard1997-03-191-27/+1
| | | | | | | | file loading code. Submitted by: pst Notes: svn path=/head/; revision=24038
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22988
* Change handling of bad signals; there are reasons why this is actuallyJordan K. Hubbard1997-02-201-5/+1
| | | | | | | not such a great idea. Notes: svn path=/head/; revision=22950
* Read /etc/resolv.conf information as well as /etc/sysconfig info, makingJordan K. Hubbard1997-02-151-3/+1
| | | | | | | this a little more robust. Notes: svn path=/head/; revision=22756
* o Try to be more aggressive about reading in old configuration dataJordan K. Hubbard1997-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. Notes: svn path=/head/; revision=22721
* Cosmetic tweaks.Jordan K. Hubbard1997-01-291-3/+3
| | | | | | | Also redirect stderr to Debug when running multiuser. Notes: svn path=/head/; revision=22102
* Death to another bad idea: Don't auto-mount CDROM on startup.Jordan K. Hubbard1997-01-291-7/+0
| | | | Notes: svn path=/head/; revision=22069
* Implement compiled-in config file handling a little better - nowJordan K. Hubbard1997-01-181-1/+1
| | | | | | | | that there's no filesystem on the boot.flp image we need to prompt for the configuration floppy. Notes: svn path=/head/; revision=21853
* Pass LOAD_CONFIG_FILE variable through, if set (makes Paul Traina's lifeJordan K. Hubbard1997-01-171-2/+1
| | | | | | | | easier). Only run install.cfg if running as init. It's something of a security hole otherwise. :) Notes: svn path=/head/; revision=21795
* Clean up a long-standing bug in the scripting code. You could set variables,Jordan K. Hubbard1997-01-161-19/+13
| | | | | | | | but you couldn't call functions! Now you can do both. Guard against whitespace pollution in variable names. Notes: svn path=/head/; revision=21764
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* Do something I've wanted to do for quite some time - collapse all theJordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21243
* Undo one of my memory optimization hacks - it actually made things moreJordan K. Hubbard1996-12-121-4/+2
| | | | | | | complicated. Notes: svn path=/head/; revision=20355
* Fix some bogons in my close() handling.Jordan K. Hubbard1996-12-121-3/+7
| | | | Notes: svn path=/head/; revision=20354
* Be more efficient in how we use memory (stumbled across while looking forJordan K. Hubbard1996-12-111-6/+7
| | | | | | | | | something else) for attributes and variables. Remove stack-stomper in sstrncpy(). Notes: svn path=/head/; revision=20331
* Do a few things I've been threatening to do for a long time:Jordan K. Hubbard1996-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> Notes: svn path=/head/; revision=20315
* If /install.cfg exists on the local floppy (or if LOAD_CONFIG_FILE is definedPaul Traina1996-09-261-20/+43
| | | | | | | | | | 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.] Notes: svn path=/head/; revision=18501
* Remove some bogosities I introduced with the init file hack (not serious,Jordan K. Hubbard1996-09-151-1/+4
| | | | | | | just bogus). Also turn off by default - whoops! Notes: svn path=/head/; revision=18310
* Various minor improvements.Jordan K. Hubbard1996-09-081-1/+27
| | | | Notes: svn path=/head/; revision=18144
* Fix some bogus argument handling - whups! James was right..Jordan K. Hubbard1996-07-221-2/+3
| | | | Notes: svn path=/head/; revision=17246
* Fix something I broke with CDROM installation (well, I knew my firstJordan K. Hubbard1996-07-121-8/+8
| | | | | | | test CD would turn at least one bug up :-). Notes: svn path=/head/; revision=17126
* Make it plainer how to exit.Jordan K. Hubbard1996-07-021-2/+2
| | | | Notes: svn path=/head/; revision=16887
* Allow argv[0] to be a command also.Jordan K. Hubbard1996-06-261-7/+17
| | | | Notes: svn path=/head/; revision=16766
* Make CDROMs automagically select as the default media type.Jordan K. Hubbard1996-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. Notes: svn path=/head/; revision=16201
* Only look at command-line args if we're not running as init - duh!Jordan K. Hubbard1996-05-281-2/+2
| | | | | | | Thanks, David. Notes: svn path=/head/; revision=15961
* Fix some long-standing malloc bugs in the package handling code (freeing garbageJordan K. Hubbard1996-05-161-4/+14
| | | | | | | | | | | | | | | | in one place, leaking memory in another). Add a facility to invoke subsystems directly by naming them on sysinstall's command-line when running post-install. A replacement for pkg_manage might, for example, be `/stand/sysinstall configPackages' Fix bogon where upgrade shell was entered with tty modes spammed. Fix bug with release name checking in ftp_strat. Turned a bunch of bogus exit()s into proper calls to systemShutdown(). Notes: svn path=/head/; revision=15788
* Add a new -fake argument to make sysinstall not actually change things whileJordan K. Hubbard1996-04-281-4/+10
| | | | | | | I'm testing it. Notes: svn path=/head/; revision=15439
* 1. Update all the copyrights to delete useless clauses 3 and 4.Jordan K. Hubbard1996-04-131-8/+1
| | | | | | | | 2. Change more of the menu code over to new system. 3. Streamline label editor. Notes: svn path=/head/; revision=15242
* Major surgery.Jordan K. Hubbard1996-04-071-3/+7
| | | | | | | | | | | | | | | | | | 1. Use new dialog menu hacks (no strings, just arrays of dialogMenuItem structs) so that I can create composite menus with radio/checkbox/... items in them, removing some long-standing UI bogons in various menus. This work isn't finished yet, but will be done in two phases. This is phase one. 2. Remove all the script installation stuff. I never got time to document it, it was arcane and it just complicated much of the code. There are better ways of doing this if I want to do auto-driven installations later. 3. Remove much dead code and otherwise attempt to remove as much historical grot as possible so that this code is easier to hack on. This is also a two-stage process, phase one of which is now complete. Notes: svn path=/head/; revision=15091
* Update the -current sources from the 2.1 branch.Peter Wemm1995-12-071-8/+17
| | | | | | | Approved (in spirit) by: jkh Notes: svn path=/head/; revision=12661
* This mega-commit brings in Jordan's latest sysinstall version..Peter Wemm1995-09-181-4/+1
| | | | | | | | | | This looks like it was developed offline, and is being spammed over the top of the existing. "That's fine by me! I dont really care how you do it, just get it in there..." said Jordan in a conversation a short while ago... Notes: svn path=/head/; revision=10882