summaryrefslogtreecommitdiffstats
path: root/etc/rc
Commit message (Collapse)AuthorAgeFilesLines
* This is another in Martin Blapp's N-series of mount-related cleanups :)green2000-01-151-38/+4
| | | | | | | | | | | | | Changes are: - rpc.umntall is called at the right places now in /etc/rc* - rpc.umntall timeout has been lowered from two days (too high) to one - verbose messages in rpc.umntall have been clarified - kill double entries in /var/db/mounttab when rpc.umntall is invoked - ${early_nfs_mounts} has been removed from /etc/rc - patched mount(8) -p to print different pass/dump values for ufs filesystems. (last patch recieved from dan <bugg@bugg.strangled.net>) Submitted by: Martin Blapp <mbr@imp.ch>, dan <bugg@bugg.strangled.net>
* Third try.. Avoid filenames with spaces in them.peter2000-01-061-2/+2
| | | | | PR: 15937 Pointed out by: Koga Youichirou <y-koga@jp.FreeBSD.org>
* Missed a filename variable quote in rcpeter2000-01-051-1/+1
|
* Quote arguments in vi recover script.peter2000-01-051-3/+3
| | | | | PR: 15901 Submitted by: KOJIMA Hajime <kjm@rins.ryukoku.ac.jp>
* Remove kvm_mkdb as it isn't installed anymore. libkvm asks directlypeter1999-12-271-1/+0
| | | | via kldsym(2), and crash dumps use nlist directly (and always have).
* Install sendmail.cf into /etc/mail.obrien1999-12-191-1/+1
| | | | | | | | | The current offical Sendmail Inc. version uses /var/mail/ and when we upgrade our repository to that version, we will get the change. It is best to make the path change in 4.0-R (which may not have the latest Sendmail Inc. version, than to change in mid-4.x stream when we may upgrade. Ok'ed by: Peter (quite a while ago)
* Call rpc.umntall only if nfs_client_enable, hang occurse otherwiseache1999-11-301-3/+7
|
* Finish up umntall support. init now passed an argument to thedillon1999-11-221-3/+24
| | | | | | | | | rundown script 'reboot' or 'single'. ISO support (which never worked) has been removed from mount_nfs. mount_nfs and umount now use mounttab, which allows umntall to work properly. The rc scripts now call umntall as appropriate. Submitted by: Martin Blapp <mb@imp.ch>
* Add network pass4 - after all local (/usr/local/etc/rc.d f.e.)ache1999-11-171-0/+4
| | | | | | daemons started. Move log_in_vain option there. It is needed to avoid lot of connections to port 80 logged on production WWW server prior Apache started from /usr/local/etc/rc.d
* Slight reordering of /etc/rc order: It now goesnsayer1999-09-241-29/+29
| | | | | | | | | | | | | | | | | | ... recover vi msgs/bounds update MOTD rc.{arch} rc.devfs rc.local $local.startup securelevel The motive behind this is to delay rc.{arch} as long as possible, as it loads the screensaver, which kills the splash screen. But at the same time, it can't be done after rc.devfs, as that might depend on arch specific actions. rc.local and local.startup also should come after these, and securelevel must be last of all.
* Remove the "vinum_drives" rc.conf knob. According to Greg <grog@lemis.com>jkoshy1999-09-221-5/+0
| | | | | | this is no longer the right way to start Vinum unless you are doing some kind of maintenance, and that's not the sort of thing that would go into rc.conf.
* Apply a consistent style to most of the etc scripts. Particularly, usesheldonh1999-09-131-155/+251
| | | | | | | | | case instead of test where appropriate, since case allows case is a sh builtin and (as a side-effect) allows case-insensitivity. Changes discussed on freebsd-hackers. Submitted by: Doug Barton <Doug@gorean.org>
* This fix adds checking for the existance of the /var/msgsroberto1999-09-121-1/+1
| | | | | | | directory before attempting to create the bounds file. PR: bin/13184 Submitted by: "Stephen J. Roznowski" <sjr@home.net>
* Remove all non-file like things in /var/tmp/vi.recover on reboot.imp1999-08-301-0/+1
|
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Style clean-up:sheldonh1999-08-251-54/+54
| | | | | | | | | | | | | | | | * All variables are now embraced: ${foo} * All comparisons against some value now take the form: [ "${foo}" ? "value" ] where ? is a comparison operator * All empty string tests now take the form: [ -z "${foo}" ] * All non-empty string tests now take the form: [ -n "${foo}" ] Submitted by: jkh
* Perhaps I should have looked at the whole file rather than just the delta.peter1999-08-061-2/+2
| | | | | | Use -eq rather than -ne. Obtained from: OpenBSD (millert, etc/rc rev 1.104)
* I don't think `customify' is a real word.peter1999-08-061-2/+2
|
* Don't use /tmp/_motd in the aftermath of the chflags(2) revelations.peter1999-08-061-8/+11
| | | | Obtained from: OpenBSD (millert etc/rc rev 1.102 and hugh)
* Clear flags on psuedo terminals before trying to chmod and chown them.imp1999-08-021-1/+2
|
* Don't allow users to prevent the updating of /etc/motd on machines forsheldonh1999-06-211-3/+3
| | | | | | | | which /tmp is not mounted in MFS, clear_tmp_enable="NO" and update_motd="YES". PR: 10005 Submitted by: Anton Voronin <anton@urc.ac.ru>
* Ignore the quota.user and quota.group files rather than thebrian1999-06-011-2/+3
| | | | ``quotas'' file when cleaning /tmp.
* Break lines to be < 80 chars.cracauer1999-04-021-2/+3
| | | | Submitted by: BDE
* Add variable start_vinum. If set to YES, it will start vinum andgrog1999-04-021-2/+4
| | | | | | automagically find all the partitions. This is to be preferred to the somewhat emetic usage of vinum_slices and the equally obnoxious 'vinum read' command.
* Use new -T switch to turn on immediate interruptibilty in shellcracauer1999-04-011-3/+3
| | | | | scripts. Also, the ugly 'echo -n' hack to prevent sh from a wrong optimization isn't needed anymore.
* Add two features:imp1999-03-281-1/+6
| | | | | | | | | | | | | log_in_vain: log_in_vain turns on logging for packets to ports for which there is no listener. rc.sysctl: A generic way to set sysctl values. It reads /etc/syslog.conf and sets values based on that. No /etc/syslog.conf has been checked in yet, and I've not added this to the makefile yet until I get more feedback. Reviewed by: -current, -hackers and bde especially
* Split check_quotas into check_quotas and enable_quotasbillf1999-03-171-7/+14
| | | | | | | | | | enable_quotas - use quotas on your system check_quotas - check for violations on startup By assuming that a system was neat and without violation before it booted we can skip a long (and at that point needless) process. Submitted by: Alex Perel <veers@disturbed.net>
* Fix bogons in previous commit.des1999-03-141-2/+2
|
* Chown the pty device nodes back to root:tty.des1999-03-141-1/+2
|
* Add ${lpd_program} and ${portmap_program} as variables in rc.conf, withjfitz1999-03-111-2/+2
| | | | | | suitable defaults pointing to the FreeBSD-shipped versions. This will allow for easier integration of third-party replacements for these daemons. Reviewed by: Several members of -committers
* Correct various mentions of rc.confjkh1999-02-131-21/+10
|
* Use /etc/defaults/rc.conf everywhere, falling back to /etc/rc.confjkh1999-02-101-2/+4
| | | | as necessary (for half-assed upgrades).
* Revamp rc.diskless. Split into rc.diskless1 and rc.diskless2. providedillon1999-02-091-25/+26
| | | | | more opportunities for overriding. Clean up /etc/rc ( remove conf_dir, remove startup mount special cases, remove other special cases )
* Get rid of $conf_dirdillon1999-02-091-3/+3
|
* Change variable name vinum_slices to vinum_drives to match the variablegrog1999-01-311-3/+3
| | | | | | | | we set in rc.conf. Background: the `vinum read' command has changed. For a short period of time, it required the names of the slices on which vinum was stored. Now it requires the names of the drives.
* If vfs.nfs.diskless_valid does not exist, the conditional failsdillon1999-01-291-2/+3
| | | | | | and spews an error message we'd rather not spew. Fixed. Submitted by: Kevin Street <street@iname.com>
* Move reading of rc.conf sooner as requested by Greg. I'm a tad nervouspeter1999-01-261-9/+8
| | | | | | about this becase that makes it get run *before* the filesystems are mounted. If people have added stuff to their rc.conf or rc.conf.local that uses stuff outside of /bin and /sbin, this will break.
* The vinum setup tool automatically loads the vinum module if it's needed,peter1999-01-261-7/+2
| | | | | | there is no need to duplicate the logic here. XXX rc.conf needs to be read sooner..
* Finish up /etc/rc adjustments to handle diskless read-only-root booting.dillon1999-01-251-21/+42
| | | | This will be followed up by rc.diskless and documentation.
* Introduce rc script for BOOTP 'diskless' boot. Well, not quite disklessdillon1999-01-251-1/+12
| | | | | | | | | since the kernel must be booted from something ( like a floppy ). This script must occur near the beginning of the rc file in order to support read-only NFS mounts, which in turn allows all the BOOTP machines to use the same / and /usr. The companion rc.diskless script is forthcoming.
* nuke dset from here.jkh1999-01-201-4/+3
| | | | Reminded by: peter
* Only start vinum if vinum_slices variable is non-emptygrog1999-01-181-2/+2
| | | | Reported-by: roberto
* Add hooks for starting vinum at boot time. Set the variablegrog1999-01-171-1/+10
| | | | | | | | vinum_slices to the names of all slices (block device) which are under the control of vinum. The configuration will be read in from each in turn, starting with the most recently updated. Reviewed-by: jkh
* Move nologin from /etc to /var/run. This means one less file that hasasami1999-01-111-3/+1
| | | | | | | | | to be written to /etc. The only essential change is in paths.h, so any third-party software written correctly will pick it up in the next rebuild. Reviewed by: the committers list (actually an old version)
* Added starting of usbdn_hibma1999-01-101-1/+5
|
* We load kld's in preference to LKM's, these do not need the root fs to bepeter1999-01-061-3/+2
| | | | read/write to load.
* Reviewed by: cvs-currentdillon1998-12-121-3/+31
| | | | | | Commit changes to rc and rc.local, removing the remaining minimal functionality of rc.local into rc and commenting it out of rc.local prior to the deletion of rc.local from the CVS tree.
* Should be sysctl -n. Yesterday wasn't one of my better days. Doh.jb1998-12-111-2/+2
| | | | Reported by: Ben Smithurst & Makoto Matsushita
* Add a test for hw.machine == i386 before trying to run ldconfig forjb1998-12-101-12/+15
| | | | legacy aout support.
* Hand me the pointy hat, and make it big.des1998-10-091-2/+2
|
OpenPOWER on IntegriCloud