summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/main.c
Commit message (Collapse)AuthorAgeFilesLines
* - 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.
* Fix some long-standing malloc bugs in the package handling code (freeing garbagejkh1996-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().
* Add a new -fake argument to make sysinstall not actually change things whilejkh1996-04-281-4/+10
| | | | I'm testing it.
* 1. Update all the copyrights to delete useless clauses 3 and 4.jkh1996-04-131-8/+1
| | | | | 2. Change more of the menu code over to new system. 3. Streamline label editor.
* Major surgery.jkh1996-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.
* Update the -current sources from the 2.1 branch.peter1995-12-071-8/+17
| | | | Approved (in spirit) by: jkh
* This mega-commit brings in Jordan's latest sysinstall version..peter1995-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...
* Merge RELENG_2_0_5 into HEADrgrimes1995-06-111-6/+10
|
* Remove trailing whitespace.rgrimes1995-05-301-3/+3
|
* Sync up with Poul.jkh1995-05-281-1/+5
|
* Bring everybody up to date on my morning's work.jkh1995-05-241-3/+3
| | | | | | | | | | | | | | | | | | | | 1. Fix a few bugs in the ftp installation code and implement proper ftp and network shutdown routines. 2. Clean up the menus a fair bit - add a FreeBSD configuration menu. 3. Eliminate the last of the "chaining" - the installation now does the most obvious thing in the most obvious cases and doesn't present you with more menus than you were expecting. This makes it necessary to be a little more explicit in places, but it's still less confusing. 4. Add a few more safety nets for the user. Change a few hard-and-fast limits to warnings (it now runs as non-root, Bruce). 5. Add descriptions for all the supported ethernet cards. 6. Make the cpio floppy extract put up a menu requesting the drive you wish to use if you have more than one; don't just always assume drive A.
OpenPOWER on IntegriCloud