summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/system.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't call systemShutdown() from signal handler so that the media devicejkh1997-01-151-2/+2
| | | | | is closed. The FTP library doesn't expect to be called recursively from an interrupt. :)
* 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.
* Support the use of the 2nd CDROM as a fixit aid. Also put the EHSjkh1996-12-291-2/+25
| | | | | | | into a submenu in case you need to start it again (or at some other point in the installation). Submitted-By: joerg
* Fix some bogons in my close() handling.jkh1996-12-121-2/+2
|
* Cosmetic tweaks, initialize a few variables, fix a reversed conditional.jkh1996-12-111-2/+11
|
* Add Joerg's user management screen for David Nugent's pw(8) program, somethingjkh1996-12-091-2/+2
| | | | | | | | | which will also need to be brought in before this screen will work. Add some commentary about how the slip startup code is bogus. Steal Joerg's loop for more properly closing all files and graft it into the EHS startup. My loop was functional but more bogus.
* Installation cleanup, round II.jkh1996-10-011-1/+5
|
* Saner screen refresh changes, part I.jkh1996-10-011-4/+1
|
* If we're unable to open /dev/ttyv0, assume that we're on a single tty systempst1996-09-261-2/+6
| | | | | | | | and use /dev/console. I really think the proper test is to determine which device has been configured to be the console (remember the RB_SERIAL flag?) and use it instead of always trying to open /dev/ttyv0 first.
* Close PR#1542. Don't just assume 24 lines, get the tty size.jkh1996-08-011-1/+2
| | | | | | | Some things may still display text on the 24th line, but that's because they've always been screens designed to fit into a minimal real-estate and have hardwired assumptions about the dimensions. They'll be a little harder to make dynamic.
* Better error checking in helpfile expander.jkh1996-07-101-4/+2
| | | | Tart up some of the output a little.
* Whoops! Now that I'm decompressing docs into /tmp, it's important tojkh1996-07-081-1/+3
| | | | | make sure that /tmp is there first! :-) While I'm at it, clean up the somewhat inexplicably bogus Mkdir() function.
* Support compressed doc files again.jkh1996-07-051-3/+20
| | | | | | | | Add a few strategic screen clears. Do a lot less wasted screen I/O in restoring screen contents that don't need restoring. Use tar instead of cp to back up /etc in installUpdate. Don't panic when upgrade shell exits.
* Fix some long-standing malloc bugs in the package handling code (freeing garbagejkh1996-05-161-4/+16
| | | | | | | | | | | | | 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().
* Micro tweak for getting the Holographic shell message to stay on thejkh1996-05-011-2/+2
| | | | screen longer.
* Fix more display weirdnesses that only show up during a real installation.jkh1996-04-291-2/+4
|
* Add a new -fake argument to make sysinstall not actually change things whilejkh1996-04-281-2/+11
| | | | I'm testing it.
* Fix an ancient index list bug.jkh1996-04-281-2/+9
| | | | | Make FTP re-initializion work. Fix fix fix.
* Move some of functions around in order to make this stuff easierjkh1996-04-281-3/+2
| | | | to work on.
* Fix display refresh bug in displayHelp()jkh1996-04-261-3/+6
| | | | | | | Go back to Normal menus for Media and FTP menus rather than radio menus - the difference in behavior is confusing and sort of detracts from the added (small) advantage of seeing what you last picked.
* Quite a few changes:jkh1996-04-251-1/+2
| | | | | | | | | | 1. Fix the last display bugs (I hope) by use of dialog rebuilds at stategic points. 2. Clean up the distributions menus so that everybody (that's reasonable) has All and Clear options for setting/clearing things en-masse. 3. Various attempts at display optimization. 4. Change the wording of the `Don't use Write!' dialogs to make them more explicitly define when and when not to use the option.
* Bring this into sync.jkh1996-04-231-9/+1
| | | | | | | | | | I still have a _very very annoying_ display bug which occurs when a menu item causes a submenu to be displayed - the screen repaints for the original menu (which is restored upon return from the submenu) are off by about 4 characters. I've tried restoring the screen, the cursor position, you name it - same deal. Grrrr! This commit is my first step in trying to get someone else to help me look into this one since I'm just tearing my hair out at this point!
* 1. Update all the copyrights to delete useless clauses 3 and 4.jkh1996-04-131-9/+5
| | | | | 2. Change more of the menu code over to new system. 3. Streamline label editor.
* Major enhancements to the package adder (next step is to use the new dialogjkh1996-03-211-3/+3
| | | | | | functions to make the menus far less klunky, but one thing at a time). Fix bug that had debug output spewing uselessly on vty2 when running multiuser.
* Lots of fixes:jkh1996-03-181-2/+2
| | | | | | | | | | | | | | | | 1. Revamp package installer to use new dependency lists and also pkg_add's new `read from stdin' mode to prevent a copy of the package from hitting the disk unnecessarily. 2. More fixes for running "not as init" - don't get upset if CDROM already mounted, do the right thing instead. 3. If running as init, assume first-time install and _don't show the (W)rite option in the fdisk screen. 4. Many other little tweaks, some of which will have to wait for fuller testing until I can create a boot floppy (testing certain system-destroying features of sysinstall can be a royal pain). Expect some more commits.
* Miscellaneous cleanup before big round of menu restructuring (to use newjkh1996-03-021-2/+1
| | | | libdialog features).
* Update the -current sources from the 2.1 branch.peter1995-12-071-54/+67
| | | | Approved (in spirit) by: jkh
* This mega-commit brings in Jordan's latest sysinstall version..peter1995-09-181-64/+4
| | | | | | | 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-86/+35
|
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
|
* Sync up my work for the night. This should implement ALL possiblejkh1995-05-291-35/+57
| | | | | | installation methods and provide a fairly robust set of menu options. This should also fix a few more bugs on Poul-Henning's latest gripe list.
* Get help files form /stand/help.tgzphk1995-05-291-23/+17
|
* Shrink the boot floppy by removing all extraneous stuff. Also increasejkh1995-05-291-4/+2
| | | | | | number of inodes. Fix various bugs reported by Poul. Implement VTY switching.
* Try again to redirect the console back before rebooting.jkh1995-05-281-3/+5
|
* Put the console back on ttyv0 before rebooting.jkh1995-05-261-2/+7
|
* Ask name of "other" ftp site in correct place.jkh1995-05-261-2/+2
| | | | | Make TIOCCONS redirection for console messages work properly; we no longer open /dev/console for all I/O - we use the VTYs directly.
* Clean up the configuration stuff a bit more - we should now populatejkh1995-05-261-5/+5
| | | | | | /etc with good things(tm). Fire off ppp with all the proper initial options set.
* Totally revamp the TCP/IP dialog; now network selection makes a bit more sense.jkh1995-05-261-4/+3
| | | | | | | | Root floppy (which actually may be able to go completely away at some point soon!) is now loadable from ftp/nfs/dos as well as CDROM and (of course) floppy. Fix more problems on Poul's Gripe List.
* Bring in all my fixes to Poul's gripe list as of last night.jkh1995-05-251-16/+2
|
* Cleanup.jkh1995-05-251-2/+2
|
* Invoke the _right_ shell. Sigh.jkh1995-05-241-2/+2
|
* Whoops - that last feature I committed to put a diagnostic shell injkh1995-05-241-1/+3
| | | | | ttyv3 would work a lot better if I actually exec'd a shell! :-) Reviewed by:
* 1. Spawn a shell on VTY4 and leave it lying around.jkh1995-05-241-1/+13
| | | | | 2. Bring in Gary's prompt stuff in extractGeneric. 3. Add another global for telling when we're running as init.
* 1. Bring in the first cut of Poul's ftp routines. We still don'tjkh1995-05-231-4/+5
| | | | | | | | | | use them yet, but it's close (we're working on the last wrinkles in the CD install for now). 2. Complete the CDROM installation strategy code. 3. Simplify the distribtuion loading code. 4. General error message cleanup. 5. Write the /etc/fstab file now and split those routines into config.c 6. Clean up the menus a little more.
* label.c: wizard mode now returns;phk1995-05-211-2/+1
| | | | | | disks.c: clrtobot() so that deleted stuff disappears. disks.c: offset is signed (for OnTrack diskmanager) system.c: don't setbuf(stdout,0), it's too slow.
* Make newfs options work on rootfs.phk1995-05-211-54/+35
| | | | | | | Add size argument to new_part, so it can come up with a good default for newfs. Fix (possibly) a dialog botch after label.c's wizard mode. Make vsystem even smarter abour crunched binaries (what a speedup!) (You need to recompile crunchgen !)
* Now cpio works for me. (it was Mostly confusion about when the chrootphk1995-05-201-10/+3
| | | | | | happened) Make vsystem crunch aware in an intelligent fashion. make the boot.flp target more specific (and faster).
* #if 0 out PHK's code until we can find a way of making it crunchgengpalmer1995-05-201-3/+6
| | | | dependant so that standalone builds aren't hosed.
* Change vsystem to know that the shell is crunched in.phk1995-05-201-3/+55
| | | | Sanitize a couple of messages.
* Clear the screen on msgNotifys.jkh1995-05-201-2/+2
| | | | | | Don't notify in vsystem() - it obscures the original message. Put some debugging code into cpio_extract() so that I can see why it doesn't work now. :(
OpenPOWER on IntegriCloud