summaryrefslogtreecommitdiffstats
path: root/etc/rc
Commit message (Collapse)AuthorAgeFilesLines
* Not sure if Rod is still working in these or not, so here goes.wollman1995-07-201-1/+4
| | | | | | Add nis_ypsetflags sysconfig entry and appropriate code in rc to call ypset if needed. Should probably automatically add `-ypsetme' to ypbind flags if this is set.
* Optionally set the dump device.bde1995-06-251-1/+6
|
* The ``mount -a -t nfs'' should never have been backgrounded. If yourgrimes1995-05-151-2/+2
| | | | | | | | have non-critical nfs volumes in /etc/fstab they should have option bg on them. The behavior of the system is more tuneable this way, and allows a slow mounting /usr over nfs to work. Submitted by: bde
* Fixed incompleteness that would allow dirty filesystems to get mounteddg1995-05-151-1/+10
| | | | | | | | | when the single user shell was terminated. These changes disallow mounting or R/W upgrading filesystems that are dirty unless "-f" (force) option is used with mount. /etc/rc has been modified to abort the startup if one or more non-nfs partitions fail to mount. Reviewed by: Poul-Henning Kamp, Rod Grimes
* Document the fact that almost all the user configuration stuff is nowjkh1995-05-111-1/+5
| | | | in /etc/sysconfig, per Luigi's suggestion.
* Add -r to rm -f /var/spool/uucp/.Temp/*ache1995-04-111-2/+2
|
* Remove obsolete comments about my-name and my-network.rgrimes1995-04-111-2/+2
| | | | | | | | | | | | | | | | Have netstart directly source sysconfig so that it stands on its own. Do not source netstart in rc, run it with sh. Rework the dangerous /etc/hostname.* so that it uses a variable with a list of interfaces and a variable for each interface in that list. The files /etc/hostname.* become obsolete with this change, the information is now stored in /etc/sysconfig. Source any /etc/start_if.${ifn} files so they can export things to netstart (plans for future enhancements in this area.) Obsolete /etc/defaultrouter, this is now down with $defaultrouter from sysconfig.
* This is a purely cosmetic clean up. Fix many cut and paste problems thatrgrimes1995-04-091-7/+7
| | | | had turned tabs into spaces.
* This is the rc work as provided by pts, I will me makeing some additionalrgrimes1995-03-301-87/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes to it based upon other outstanding bug reports and commits made after his work. Comments: (a) sysconfig is still used to do all configuration. I was not going to change that out from under you.... a user never need edit netstart or rc* unless they're being very weird. (b) rc.maint has been folded back into rc. It is just unworkable as a separate chunk because of ordering bogosities (c) netstart does what it says... it starts up enough of the network to get up, it doesn't start every bloody daemon that might talk to a socket... netstart ifconfig's the devices and sets up routing if configured to do so. (d) nfs disks are mounted immediately after netstart completes (e) syslog is started as early as possible (right after nfs) so that error messages can get logged to remote syslog servers properly (f) named is started (there is an argument that says that named should be started before syslogd because if you are the dns server for your domain, you'd like named to resolve remote hosts in syslog.conf, but this is a minority case and the trivial workarround is to put the syslog host in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog to catch named errors, which is a MUCH more important and likely occurance) (g) NOW all of the rest of the network daemons such as the time stuff, RPC, NIS, NFS, Kerberos and inetd are started (h) the rest of the generic stuff is done (cron/printer/sendmail) (i) shared libraries are set (j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2, xtend, and all of the syscons stuff (this is actually started as /etc/rc.`uname -m` (k) the syscons stuff has gotten a serious cleaning to make it consistent with rc conventions (l) rc.local has had the comments about syscons removed (they are not relevant to this file now) and the full name of the kernel has been restored to /etc/motd Submitted by: pts
* Add function keys change setupache1995-03-301-2/+14
|
* Move the invocation of rc.maint ahead of netstart. This is actually OKjkh1995-03-291-6/+6
| | | | | since /var wouldn't be mounted at this point anyway - the mount of NFS comes after both of them are run. This closes misc/276.
* 1. Add missing -n's to echo lines, closing misc/278jkh1995-03-291-11/+12
| | | | | 2. Make output of spaces follow conventions used elsewhere. 3. Inform user of a few things being started that were silent before.
* Make syslogd work again: in needs to be started in netstart rightwpaul1995-03-261-5/+1
| | | | | | | | | | | before the rest of the system daemons are brought up and *after* the network interfaces have been configured. Also fix one other potential problem: the NIS services need to be started relavively early since some of the other daemons might need them. The automounter is a good example: if you use amd with NIS-based maps, you'd better have NIS running before you start it. :) I think mountd might need it too, now that netgroups can be read via NIS as well.
* start syslog earlierjkh1995-03-241-1/+10
| | | | add optional ibcs2 startup
* Correct a few spelling bogons.jkh1995-03-241-6/+6
| | | | Submitted by: phk
* Get around problem of not exporting variables in sysconfigjkh1995-03-241-4/+4
|
* rc.netstart -> netstartjkh1995-03-231-3/+3
|
* Another pass through our rc files in an attempt to eliminate historicaljkh1995-03-231-165/+16
| | | | crufy and generally make all of this easier to understand and modify.
* Almost full syscons setup via rc & sysconfigache1995-03-221-9/+67
|
* Change named starting convention to use $namedflags like most otherwollman1995-03-211-8/+9
| | | | | daemons that take command-line arguments. Correct /etc/namedb installation to use the correct files.
* Begin a long-overdue cleanup of this whole mess.jkh1995-03-211-49/+59
| | | | | | | | | | | 1. Move all system configuration variables into /etc/sysconfig 2. Adapt other files to use it. 3. Add a host of new variables for micro-managing your system in various ways. For 2.1, /etc/sysconfig will be machine-edited so that the user doesn't even have to care at all about the various funny names we picked. 4. Enable dset. We won't get it debugged if we never use it, and no one has said anything negative about it yet, so here goes! 5. Try to use one consistent style throughout.
* Remove extra fi that caused this script to fail during boot.rgrimes1995-03-171-2/+1
|
* Semi-major RC file cleanup:wollman1995-03-161-13/+36
| | | | | | | - Do ntp right - Move recenrly-added and long-standing junk from rc.local into rc, so . that rc.local truly is LOCAL. - Fix named invocation to use the correct boot file location.
* Disable dset for now - Bruce says it hoses the show.jkh1995-01-261-2/+2
|
* Add dset call to rc file, right after the databases are rebuilt.jkh1995-01-241-1/+4
|
* timedflags quotedache1994-12-181-2/+2
| | | | Submitted by: root@uglabgw.ug.cs.sunysb.edu
* Add yet one locale example, this time ISO8859-1 as most common example.ache1994-12-051-1/+4
| | | | Add reference where find full locales list
* Call rc.local with . instead of sh to pass variablesache1994-11-261-2/+2
| | | | Submitted by: John Capo
* fix if test for rwhod.smace1994-11-171-2/+2
|
* Only so savecore if people ask for it.phk1994-11-071-2/+2
|
* Restore back -i for adjkerntzache1994-11-021-2/+2
|
* Remove -i options from adjkerntz callache1994-11-011-2/+2
|
* Add commented out startup locale setup, needed for some daemonsache1994-10-301-1/+9
| | | | like comsat
* Moved swapon -a to before the fsck. It isn't possible to run fsck ondg1994-10-251-3/+3
| | | | moderately sized filesystems on 4MB machines otherwise.
* Add nfs_client and amdflagspst1994-09-291-2/+6
|
* Remove elvis editor preserve stuff. We don't have elvis in 2.0 (nor ampst1994-09-261-7/+1
| | | | I aware of anyone who wants it given that we have nvi).
* Don't pass a filename to kvm_mkdb, it can figure out the correct filewollman1994-09-241-2/+2
| | | | on its own.
* root must be remounted read/write fairly early in the startup proceduredg1994-09-231-6/+4
| | | | both for NFS diskless and for VFS LKMs.
* fbtab: Pulled down from Attic, fixed spaces to tabs.rgrimes1994-09-231-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | make.conf: Pulled in the following changes that had been commited to share/examples/etc: ---------------------------- revision 1.6 date: 1994/09/20 22:30:33; author: adam; state: Exp; lines: +3 -3 BOOTWAIT example converted to milliseconds calibration ---------------------------- revision 1.4 date: 1994/09/19 21:35:28; author: wollman; state: Exp; lines: +7 -1 Document NO_SHARED_LIBCC_INT. ---------------------------- revision 1.3 date: 1994/09/19 21:28:11; author: wollman; state: Exp; lines: +12 -17 Install /etc from the same source as /usr/share/examples/etc (mostly). ---------------------------- revision 1.2 date: 1994/09/19 02:05:08; author: ache; state: Exp; lines: +1 -11 Remove STARTUP_LOCALE, obsoleted now ---------------------------- revision 1.1 date: 1994/09/08 19:08:59; author: jkh; state: Exp; Add a sample make.conf. Also document the new X11BASE variable, and expand some of the documentation for other entries. Submitted by: jkh ---------------------------- manpath.config: Pulled down from Attic, and merged share/examples/etc changes. rc: Pulled in the following change from share/examples/etc: ---------------------------- revision 1.2 date: 1994/09/19 23:13:37; author: ache; state: Exp; lines: +1 -2 Remove warning about adjkerntz /var/run file ----------------------------
* nfsiod should be started if this is a NFS-client, not if it is a server.phk1994-09-151-1/+4
| | | | | look for "nfs" in etc/fstab, and start it if we see it. Not quite perfect, but better. mount_nfs should start it, if it isn't running.
* 1) adapted to a world without "fastboot" and "fasthalt".dg1994-08-211-9/+7
| | | | 2) updated to work with 2.0/4.4 binaries.
* check for diskless boot, and remount / RW in that case.phk1994-06-061-1/+7
|
* Comment out the startup of the xtend daemon by default.ats1994-06-051-4/+4
|
* Now rc.serial used for initial setup of serial linesache1994-06-041-1/+7
|
* Addedpaul1994-06-011-1/+5
| | | | | | | | if [ -x /usr/libexec/xtend ]; then echo -n ' xtend'; /usr/libexec/xtend fi to etc/rc
* Path of uucp lock/temp correctedache1994-05-231-4/+4
|
* Fix to handle routed with multiple args from Andy J. Chichak.jkh1994-04-251-2/+2
| | | | This should go into 1.1 Release if it's not too late.
* Add /usr/X11R6/lib to the ldconfig path if it exists.rich1994-03-251-1/+2
|
* Added tickadj to start of xntpd, this improves performance to nominal.phk1994-02-271-3/+9
|
* Correction so that elvisrecover finds the right files!rgrimes1994-02-211-2/+2
| | | | | | | | >From: chmr@edvz.tu-graz.ac.at (Christoph Robitschko) Date: Fri, 21 Feb 1992 09:40:35 +0100 (MET) The last version expected elvis* files in /var/tmp, while elvis puts elv* files there.
OpenPOWER on IntegriCloud