summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/system.c
Commit message (Collapse)AuthorAgeFilesLines
* Better to just statically set the name vs. determine at run time.obrien2008-05-111-2/+2
|
* Clean up several instances of SADE calling itself sysinstall.obrien2008-05-111-2/+4
| | | | (do so generically so the same set of changes can be applied to sysinstall)
* Get rid of the rtermcap stuff (embedding termcaps into the program). Thisnetchild2006-08-091-27/+0
| | | | | | | is needed in sysinstall on boot, but not in sade on a fully working system. After this change I noticed no change in behavior on a vty when TERM is not set.
* Make sade(8) WARNS=3 clean.delphij2006-08-081-7/+3
|
* Say welcome to 'sade', the SysAdmins Disk Editor. It's the fdisk and ↵netchild2006-08-071-218/+9
| | | | | | | | | | | | disklabel part of sysinstall. So sysinstall may retire now, we have the important non-install part of it covered. ATM it doesn't understand GEOM stuff (like mirror, stripe, raid, ...), but patches to change this and to clean it up internally are more than welcome. Submitted by: mami@nyitolap.hu
* G/C some cruft.jhb2006-02-281-0/+2
|
* Gratuitous "typo in comment" fix.ceri2006-02-051-1/+1
|
* The /stand directory now disappears out from under sysinstall whilekensmith2005-08-051-1/+2
| | | | | | | | | it is running during installations. The vsystem() function does get used after this happens (e.g. if you manually configure the network interface and ask it to enable the interface) so it needs to be a little smarter about whether it uses /stand/sh or /bin/sh. MFC after: 3 days
* Make logic more readable.obrien2004-11-191-3/+3
|
* Fixed assorted misuses of NULL in integer context.bde2004-03-111-1/+1
|
* Do an update mount operation to mount the mfsroot as read/write ratherjhb2003-12-201-1/+6
| | | | | than read/only when sysinstall is running as init. This fixes several install issues.
* * 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
* Teach sysinstall that documents on the boot floppy might not be gzipped.jhay2002-08-091-0/+6
| | | | Reviewed by: ru
* MFS: Stop reaping children. It makes evil things happen to the extractionjkh2001-11-011-0/+2
| | | | loop.
* Move the 'type' variable inside the block where it is actually used.jhb2001-10-231-3/+3
|
* DTRT in the restart casejkh2001-10-121-1/+1
|
* Close all open file descriptors before restarting sysinstall.murray2001-09-301-1/+6
| | | | | PR: bin/30737 Submitted by: Alexey V. Neyman <alex.neyman@auriga.ru>
* Silence warnings.murray2001-09-221-1/+2
|
* Add a function to free all of sysinstall's internal variables from themurray2001-09-221-1/+4
| | | | | | | | | environment. This fixes an annoying bug where hitting Ctrl-C and telling sysinstall to 'restart' will do no such thing since many of the options are still set and so you won't be prompted for them again. MFC after: 1 week
* Whitespace change only. Use the same indention level throughout thismurray2001-09-141-11/+12
| | | | | | file and add a blank line after variable declarations. Submitted by: jhb
* If we're running as init, install a signal handler for SIGCHLD.murray2001-09-061-0/+13
| | | | | PR: bin/14729 Submitted by: jhb
* Fix the type of the NULL arg to execl()brian2001-07-091-1/+1
| | | | Idea from: Theo de Raadt <deraadt@openbsd.org>
* Look for help files in /usr/src/usr.sbin/sysinstall instead ofjhb2001-01-171-2/+2
| | | | /usr/src/release/sysinstall.
* Adapt sysinstall to use the new msgNoYes() function which assumesjkh2000-12-141-1/+1
| | | | | | 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 :).
* Changes have been made to support a concept of VAR_FIXIT_TTY beingjkh2000-10-301-10/+18
| | | | | | | | | | | | | | | | | standard or serial. This change needs to be done to the entire system that depends on this. This way we don't have some code using OnVTY checks and other doing strcmp(variable_get(VAR_FIXIT_TTY), "standard") == 0 checks. Also we need to set VAR_FIXIT_TTY to "serial" if we come up on a serial console. Also fixed a dialog problem in that dialog was used when dialog was disabled causing some troubles such as not letting the cursor keys work when exiting the fixit mode on media (ie. not the fixit shell but for example fixit on a floppy). Submitted by: Doug Ambrisko <ambrisko@whistle.com> PR: 22352
* Teach sysinstall how to restart itself on Ctrl-C (as an addition to its oldeivind2000-10-291-4/+48
| | | | | | tricks of rebooting and continuing where it was.) Reviewed by: jkh, jhb
* Initiate deorbit burn sequence for <machine/console.h>.phk2000-10-081-1/+1
| | | | | | | | | Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>. This is also the appropriate fix for exo-tree sources. Put warnings in <machine/console.h> to discourage use. November 15th 2000 the warnings will be converted to errors. January 15th 2001 the <machine/console.h> files will be removed.
* Allow the Fix-it functionality to detect that we are on a serial console,obrien2000-07-181-6/+45
| | | | | | | | and DTRT rather than start the fixit shell on a non-existant vty. PR: 19837 Submitted by: Doug Ambrisko <ambrisko@whistle.com> Approved by: JKH
* Add #includes for sysctlbyname() to quiet a warning.jhb2000-03-251-0/+2
|
* Make sysinstall use the new debug.boothowto OID. It will now gojkh2000-02-251-4/+8
| | | | | | | | straight into debug mode if you boot -v. Also conditionalize some annoying debugging output now that we have this ability. Partially submitted by: msmith Approved by: jkh [to make certain wise-acres happy ;)]
* In retrospect, msgNotify() should leave its contents on the screenjkh1999-12-171-0/+3
| | | | | longer to give the user something to look at while things are happening. Change it to do so and insert the appropriate screen saves elsewhere.
* Completely rip-out and redesign sysinstall's refresh model as welljkh1999-12-141-1/+6
| | | | | | | | | | | | as redoing all the menus to have proper, or at least non-hallucinogenic, keyboard accelerators. This requires my recent update to libdialog to work properly and will probably also exhibit some other "interesting" behavior while the last few missing screen clears are found (which is why I'm not going to MFC immediately). At least now, however, sysinstall does not gratuitously redraw random screens at the drop of a hat and drive serial console installers out of their minds.
* I shouldn't have incremented PART_OFF; it was wrong and broke labeljkh1999-12-121-0/+2
| | | | | display to boot. Also fix some various warning fluff while I'm in here cleaning up.
* o Catch up with pnp changes - kget no longer saves pnp data.jkh1999-09-041-4/+1
| | | | o Catch up with ncurses updates - some internal function names have changed.
* Oh crud, did I ever screw the pooch! Rather than sync this with -stable,jkh1999-09-021-2/+8
| | | | | | | | | | I backed-out the changes in -current and didn't touch stable at all (I thought I had my patch order reversed, not what actually happened). AIEEE! I can't even blame the crack for this one since I broke my crack pipe a few weeks ago. I think sleep deprivation gets the blame for this one. Medal for noticing this one goes to: Jim Bloom <bloom@acm.org>
* MFC: Catch 3.2-stable sysinstall up to 4.0-current level functionality,jkh1999-09-011-8/+2
| | | | | | | bringing in DHCP support. The only thing I left out were Poul-Henning's newfs changes since I'm not sure if he's brought the rest of that support into -stable yet. If it turns out that this is the case, I'll MFC those changes too.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* we only need to declare i if we are building for the alpha.billf1999-07-291-1/+3
|
* More Alpha ifdefage.jkh1999-07-201-1/+3
|
* Another batch of fixes for dhcp support in sysinstall, now draggingjkh1999-07-191-4/+2
| | | | | | | | in some code from C. Stone to parse the lease information. This is still a WIP and this commit is largely intended to allow others to sync up; the dhclient code still only works when doing dhcp configuration post-install and requires a bit more work on the boot floppy before it will truly work in the minimal bootstrapping role.
* Add in a hack to turn off unaligned access warnings for alpha.jkh1999-07-161-2/+6
| | | | Submitted by: msmith
* Unbreak the fixit floppy.jkh1999-02-151-3/+3
| | | | Clean up some of the media handling to use common routines.
* Fix incorrect initial state for two variables.jkh1999-02-141-2/+2
|
* Write changes out to /etc/rc.conf again; rc.conf.site is dead!jkh1999-02-091-2/+2
|
* 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.
* close doc race.jkh1999-01-081-8/+16
|
* Adapt sysinstall more fully to the alpha (deal with proper boot signatures,jkh1999-01-081-1/+5
| | | | | | don't present label editor, etc). Submitted by: dfr
* Deal with both foo.hlp and FOO.TXT files.jkh1998-11-031-1/+7
|
* Simplify gunzip usage even more (doh!).jkh1998-09-301-2/+2
|
* Call gunzip correctly.jkh1998-09-301-2/+4
|
OpenPOWER on IntegriCloud