summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/config.c
Commit message (Collapse)AuthorAgeFilesLines
* Farewall, sysinstall! You served us well for many years, but 10.0 is onenwhitehorn2011-10-031-1074/+0
| | | | | | | | digit beyond your time. Various sysinstall dependencies (e.g. libftpio, libdisk, libodialog, etc.) will be cleaned up in coming days. Some will take longer than others due to a few other consumers (tzsetup and sade).
* ntpdate(8) hosts are now configured in rc.conf via ntpdate_hosts.brucec2010-11-141-3/+3
| | | | | | PR: bin/148350 Submitted by: Joel FAEDI <joel.faedi at gmail.com> MFC after: 1 week
* Correctly spell janice and jimmy as janis and jimi (assumingschweikh2010-08-141-14/+14
| | | | the famous rock stars meant were Miss Joplin and Mr Hendrix.)
* Add menus to read install.cfg from any disk device sysinstall can seegrog2009-03-131-2/+6
| | | | | | | | | | (eg USB key, CD) rather than just floppy. Handle \r\n line termination in a cfg file. Add keeprcconf variable. Submitted by: Daniel O'Connor
* o Synchronize comment and example. Add missed comma.maxim2008-12-181-1/+1
| | | | | | PR: misc/129699 Submitted by: Glen Barber [1] MFC after: 2 weeks
* Remove the offer to install Linux compatibility on i386 in the mainlinekensmith2008-12-121-17/+0
| | | | | portion of sysinstall. Leave it to be treated as a regular package along with all the other packages...
* Begin the sysinstall cleanup. Remove the support for configuring OSFkensmith2008-12-121-11/+0
| | | | binary compatibility.
* Package installation is handled by starting off with the list of packageskensmith2008-10-151-2/+9
| | | | | | | | | | | | | | | | | | the user selected and then recursively installing their dependencies, finally installing the ones the user selected after the recursion unwinds. Since users often select "high-level" packages that are on a higher numbered disc for the multi-volume release CDROMS this resulted in excessive disc swapping while installing things like kde, gnome, etc. Cut down on disc swapping by iterating through the disc volumes one at a time if we notice the package set is on multiple volumes. If a package is on a higher volume don't install it yet, but still "process it" so we get its dependencies installed. Because of the way the package sets for releases get assembled we're guaranteed dependencies will be on the same volume or lower. Reviewed by: jhb MFC after: 1 week
* Better to just statically set the name vs. determine at run time.obrien2008-05-111-1/+1
|
* Sync program name agnostic changes with SADE.obrien2008-05-111-2/+2
|
* Selecting amd and a few other things in the Networking config sectionkensmith2007-10-301-1/+6
| | | | | | | | | | | | | | caused a segfault. It turns out that in pre-7.0 systems if you do getenv("amd_enable=YES") it will return the setting of the environment variable "amd_enable" but now it returns NULL. I think I found the places where sysinstall was potentially relying on that old behavior. Fix is to make a copy of the string to be used for the getenv(3) call, look for a '=' character in it, and replace it with '\0' if one is found. Stuck to sysinstall's typical coding standards despite urges to do otherwise. PR: 117642 MFC after: 2 days
* Update postfix MTA selection code to point at postfix 2.4 which is thesimon2007-04-051-1/+1
| | | | | | current version. MFC after: 3 days
* Update postfix MTA selection code to point at postfix 2.3 which is thesimon2007-03-171-1/+1
| | | | | | | | current version. PR: misc/110447 Submitted by: Chris Fletcher <fletch.AT.brightsparks.net.au> MFC after: 1 week
* Oops - what people refer to as linux_base-fc4 calls itself linux_base-fckensmith2006-11-231-1/+1
| | | | | | and that's what pkg_add needs. MFC after: 1 day
* Switch to linux_base-fc4 for the Linux emulation package.kensmith2006-11-161-1/+1
| | | | MFC after: 3 days
* When generating localhost entries in /etc/hosts, put localhost beforebrooks2006-08-301-2/+2
| | | | | | localhost.domain so that naive users of gethost* think 1:: and 127.0.0.1 are "localhost" which is what the user expects. This also matches the sample hosts file in src/etc/hosts.
* Fix numerous warnings. Aside from menu items in system.c and menu.cjhb2006-02-281-12/+1
| | | | | | | | this now compiles on i386 with WARNS?= 3. Most of the fixes included adding missing 'static' keywords to internal functions, using fully-defined terminators in statically defined arrays of structs, and various signed vs unsigned mismatches. Also G/C'd unused configSecurity() function.
* G/C some cruft.jhb2006-02-281-37/+0
|
* - Autogenerate a menu containing a list of countries and keymaps supportedjhb2006-02-281-0/+15
| | | | | | | | | | | | | | | by syscons. - If we are running as init, popup the country menu before the main menu. If a non-default country is chosen, then a second menu is brought up to let the user choose a keymap. By default the default keymap for the country that was selected is highlighted. If the user chooses the default country, then the default keymap is just assumed and the user is not presented with the keymap menu. Currently the default country is set to "United States" except for PC98 which assumes "Japan". PR: bin/93853 Submitted by: Seth Kingsley sethk at magnesium dot net MFC after: 3 days
* Make sure /etc/fstab is written out for Apple-partitioned drivesgrehan2005-07-211-0/+4
| | | | | reviewed by: scottl MFC after: 3 days
* Update hardcoded postfix version number to the current postfix versionsimon2005-07-041-1/+1
| | | | | | | | | 2.2.x. PR: i386/82030 Prodded by: matteo MFC after: 1 week Approved by: re (scottl)
* Explicitly install linux_base 8 to make sure the right version isjhb2005-04-121-1/+1
| | | | | | | | installed. PR: bin/74593 Submitted by: Matteo Riondato rionda at gufi dot org MFC after: 3 days
* Only write the rc.conf header when a new rc.conf is written. This wassimon2004-11-161-1/+1
| | | | | | | | | accidentally removed in v. 1.211. Submitted by: Olafur Osvaldsson <oli@isnic.is> PR: bin/73692 MFC after: 1 week Approved by: trhodes
* Fix braino where I didn't fix the file path from when the line wasobrien2004-11-041-1/+1
| | | | copied from the test program.
* Stop listening to bug reports with wrong solutions and commit a fix to the 'obrien2004-11-041-1/+1
| | | | problem I know will work.
* fix typo in generated /etc/exports: escape all 'obrien2004-11-011-1/+1
|
* fix typo in generated /etc/exports: s/synatx/syntax/rse2004-10-041-1/+1
|
* Remove support for configuring the X server from sysinstall. Generalkensmith2004-08-301-139/+0
| | | | | | | | | concensus seems to be that is best left for doing post-install. Discussed on: freebsd-current@ Tested with: make release Approved by: re@ MFC after: 3 days
* Initial pass at shifting sysinstall(8) to install X.org instead of XFree86.kensmith2004-08-101-7/+7
| | | | | | | There are still a few nits to work out (graphical config non-functional). Patches by: anholt@, adapted slightly Reviewed by: 'make release'
* During FTP installs, when installing Postfix as an alternate MTA, thesimon2004-08-091-1/+1
| | | | | | | | | | | | | | | | | | | | install of Postfix fails since Postfix 1 is picked from INDEX instead of Postfix 2. The problem is that the package_add function matches multiple Postfix packages and then installs a "random" version (the last one found in INDEX). This does not occur with a CD-ROM install since there is only one Postfix package on the CD-ROM. The correct solution to this would be to check the origin field from INDEX instead of the package name, but due to the way sysinstall is made that is not trivial, so instead work around the problem by hard-coding the Postfix major and minor revision (for the current stable version) to install directly into the package_add call. PR: misc/65426 Reported by: Harold Kachelmyer <bugs@princessharold.net> Approved by: trhodes
* Move the inclusion of libdisk.h from sysinstall.h to the source filesmarcel2004-08-021-0/+1
| | | | | | | that actually need it. This makes it easier for a platform porter to find the files that may need tweaking to support whatever MD specific partitioning is needed. It also helps to prevent that the libdisk API gets exposed and/or used where it's not needed.
* Minor fixes for ia64 installs:jhb2004-05-071-1/+2
| | | | | | | - Don't look for partitions inside a FreeBSD chunk on ia64 when mounting the filesystems just before the chroot and install. - Write entries out to /etc/fstab for filesystems that aren't inside a FreeBSD chunk, but are a top-level chunk under the disk.
* I think we can stop doing 'ldconfig -aout' during the install now.obrien2004-01-021-4/+0
| | | | The base install doesn't have any a.out bits anymore and hasn't for years.
* Provide a way to deal with rc.conf which may already be populated in certaintrhodes2003-12-131-0/+2
| | | | cases.
* Replace the KDE and GNOME 2 desktops with KDE (Lite Edition) and GNOME 2marcus2003-12-021-2/+2
| | | | | | | | (Lite Edition) respectively. These "lite" packages are streamlined to provide users with the core essentials for each desktop and to fit on the release disc 1. Approved by: re (scottl)
* Add a Securelevel sub-menu to the Security configuration menu,rwatson2003-11-291-0/+46
| | | | | | | | | | | | | permitting the administrator to select a securelevel top operate at. Include a helpfile summarizing some of the information from init(8). This allows for explicit configuration of securelevels, which was previously implicit in Security Profile selection. Currently, there are no checkboxes for the active securelevel, because sysinstall's facilities for deriving "current settings" from rc.conf may use only one variable, not two, and I opted for the simplest approach at this point. Approved by: re (scottl)
* Remove security profiles from sysinstall. Currently, security profilerwatson2003-11-281-57/+0
| | | | | | | | | | | | | | | | | selection is used to drive two configuration parameters: (1) Default enable/disable for sshd (2) Default enable/disable for securelevels Replace this with an explicit choice to enable/disable sshd. A follow-up commit will add a configuration option to the Security post-install configuration menu to set the securelevel in rc.conf explicitly. This should reduce the level of foot-shooting associated with accidental enabling of securelevels, make the nature and implications of the securelevel configuration options more explicit, as well as make the choice to enable/disable sshd more explicit. Approved by: re (scottl)
* Tweak "system security profiles:rwatson2003-09-281-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | (1) Don't modify the configuration of the NFS server as a result of selecting a profile. We already explicitly prompt for the NFS server configuration during install, and the user may not get much advance notice that we're turning it off again. Instead, use profiles (for better or for worse) only for security tuning. (2) Don't modify the sendmail setting as part of the security profile: use the default from /etc/defaults/rc.conf rather than explicitly specifying. Note that the default in /etc/defaults/rc.conf is more conservative than the explicit rc.conf entry added by sysinstall during install, as it does not permit SMTP delivery. (3) Update "congratulations on your profile" text to reflect these changes. Note that security profiles now affect only the securelevel and sshd settings. My leaning would be to make sshd an explicit configuration option, move securelevels to the security menu, and drop security profiles entirely. However, that requires more plumbing of sendmail than I'm currently willing to invest. We may want to add a "permit SMTP delivery" question to the install process.
* Fix a cut n paste typo I introduced in rev 1.211.trhodes2003-09-271-1/+1
| | | | | | | PR: 57012 Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp> (original version) Friendly prod provided by: murray MFC: after re approval
* Remove the unrequired -bi from the newaliases line. Note in the commit logtrhodes2003-09-111-1/+1
| | | | | | that the last change should have read: exim_enable="YES" in the changes listing. Discussed with: ceri
* With the exim port upgrade, modify sysinstall(8):trhodes2003-09-101-12/+10
| | | | | | | | | | | | | - Add 'enable_exim="YES"' to rc.conf(5) - Use the default exim configuration file from the port - When using sendmail, disable some more scripts that use sendmail specific parameters - Have sysinstall tweak mailer.conf(5) substitution - Use 'N' flag for newsyslog(8) Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> Reviewed by: sheldonh, simon Tested by: myself (trhodes) and submitter
* Always put an entry for ::1. It may avoid useless DNS lookupume2003-08-031-8/+5
| | | | | | for localhost. MFC after: 3 days
* Give users the ability to select an alternative MTA during the installation.trhodes2003-07-121-5/+185
| | | | | | | | This option adds Postfix and Exim to the list, however, qmail is not added due to license restrictions. Collaborated with: Simon L. Nielsen <simon@nitro.dk> Reviewed by: jhb, re@, -audit.
* Teach sysinstall to recognize if acpi was turned off from the bootloader,scottl2003-05-311-0/+38
| | | | | | and then ask the user if this should be made permanent. Approved by: re
* Relocate a call to enable inetd so that it is set regardless ofrwatson2003-02-061-2/+1
| | | | | | | whether the user chooses to edit inetd.conf. PR: 39311 Reported by: Martin Faxer <gmh003532@brfmasthugget.se>
* Teach sysinstall about rpcbind, rpc.lockd, and rpc.statd. As an addedscottl2003-01-071-1/+27
| | | | | bonus, rpcbind will be enabled automatically if rpc.lockd, rpc.statd, amd, NFS Server, or NIS is enabled.
* Only try to setup moused(8) before setting up the X server if WITH_MICE isjhb2002-11-271-0/+4
| | | | | | defined. Approved by: re
* - Add a configOSF1() function (#ifdef __alpha__) that creates /compat/osf1jhb2002-11-271-0/+13
| | | | | | | in addition to setting osf1_enable to YES. - Only define configLinux() #ifdef WITH_LINUX. Approved by: re
* Add GNOME 2 to the sysinstall desktop configuration menu, removebmah2002-11-261-15/+4
| | | | | | | | | | the two GNOME 1-based alternatives. While here, note that a majority of the items in this menu are not sentences, and remove trailing dots to make the remainder consistent. Reviewed by: marcus Approved by: re (bmah)
* Also test for type efi everywhere we currently test for type fat.marcel2002-11-131-3/+6
| | | | | | | With this change there's no a priori difference between EFI and FAT partitions. With this change and the corresponding change to libdisk, we can create EFI partitions, just like regular FAT partitions.
OpenPOWER on IntegriCloud