summaryrefslogtreecommitdiffstats
path: root/etc/rc
Commit message (Collapse)AuthorAgeFilesLines
* Unspam rev 1.114 that got spammed when someone commited the rc.confjoerg1997-09-211-6/+3
| | | | | changes: drop `savecore_enable' now that our savecore obeyes the minfree file.
* Change the not-specified-default for inetd & cronbrian1997-09-131-3/+3
| | | | | | to "enabled". This will avoid breaking things for idiots like me who update /etc/rc without paying attention and updating rc.conf too.
* Don't redirect "mount -t -o nfs" to nullbrian1997-09-131-2/+2
|
* Ooops. Wrong branch, back out previous commit.joerg1997-08-171-1/+0
|
* MFC: rev 1.125, remove old PID files at startupjoerg1997-08-171-1/+2
|
* Back out ld.so.conf change until the question is resolved.jkh1997-07-131-13/+7
|
* Use /etc/ld.so.conf as a library path override, if it exists.jkh1997-07-111-7/+13
| | | | Submitted by: Hans Zuidam <hans@brandinnovators.com>
* Execute rc.local in a subshell instead of sourcing it.pst1997-06-251-2/+2
| | | | Requested by: dima
* sh /etc/rc.local -> . /etc/rc.localdima1997-06-251-2/+2
|
* Add cron_enable and inetd_enable flags to rc.conf.pst1997-06-181-3/+8
| | | | | WARNING: don't update rc and forget to update rc.conf, or you won't be able to telnet back into your box after a reboot.
* Remove /var/run/* now instead of *.pidache1997-06-041-3/+3
|
* Restore /var/run/*.pid cleaning, gated already moved off the wayache1997-06-041-0/+1
| | | | and innd store its .pid inside its own directories
* Back out /var/run/*.pid cleaning since some programms (like innd)ache1997-06-021-2/+1
| | | | use .pid to detect crash
* Add rm -f /var/run/*.pid to prevent random process killing due toache1997-06-011-1/+2
| | | | picking old .pid file
* Neaten up some things which were inconsistent, add a few more flagsjkh1997-05-191-2/+2
| | | | | to things which need them, general cleanup. Submitted by: Brian Somers <brian@awfulhak.org>
* Use full path to sendmail for security reasons.jkh1997-05-071-2/+2
| | | | Submitted by: Ollivier Robert <roberto@keltia.freenix.fr>
* Add inetd_flags and way of passing ipfw a configuration filejkh1997-05-051-2/+2
| | | | | | | | | (if firewall = "somefilename"). Fix typo fixes and URLs which were accidently nuked out of this file (submitted by: soil@quick.net via PR#3501). Submitted by: "Danny J. Zerkel" <dzerkel@phofarm.com>
* re-enabled: . /etc/rc.${arch}andreas1997-05-041-4/+4
| | | | | | | PR: Reviewed by: bruce Submitted by: Obtained from:
* Fixed sourcing of /etc/etc.${arch}/rc.${arch} on startup.andreas1997-05-041-4/+4
| | | | | | | PR: Reviewed by: Submitted by: Obtained from:
* Update the etc world from RELENG_2_2 which is now more up-to-datejkh1997-05-031-32/+6
| | | | | | (gotta get myself -current again, this is a drag). Also-fixes-problems-noted-by: Wolfgang Helbig & Joerg Wunsch
* Clean up the output a bit.jkh1997-05-011-6/+10
|
* Bring in rc file changes from -current.jkh1997-04-271-134/+36
|
* Make a sysconfig variable controlling if teh kernel should acceptguido1997-04-091-1/+4
| | | | | | | nfs requests from non-privileged ports. Change mountd such that it does never set this variable, but only clears it when run with -n. Also document this in the man page.
* Add portmapflags and syslogd flags.pst1997-04-011-11/+17
| | | | Reviewed by: jkh
* Having two knobs until you get a kernel core dump saved is silly.joerg1997-03-161-2/+2
| | | | | | | | | | Leave dumpdev, but kill the savecore variable. Thus, it's still off by default, but all you need is enabling dumpdev now. phk's old argument that savecore might inadvertendly fill up the disk no longer counts, savecore now correctly obeyes a `minfree' file, and we ship our systems with such a file that even has a reasonable default.
* Revert $FreeBSD$ to $Id$peter1997-02-231-1/+1
|
* Make sure newly created /var/account/acct file is 0600 mode.jkh1997-01-161-1/+1
|
* 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.
* Put dmesg.boot in /var/run instead of /var/tmpphk1997-01-021-2/+2
| | | | Suggested by: joerg & peter
* Now that uptimes run into months on a regular basis, I often find myselfphk1997-01-021-1/+4
| | | | | | | | | | | wondering what the hw-config of a machine is, and the logs have been rotated many times since reboot already. Added: /sbin/dmesg > /var/tmp/dmesg.boot to /etc/rc 2.2 candidate
* Extend the set of ptys to chmod at boot time.joerg1996-12-231-2/+2
| | | | | | Closes PR # conf/1957: not all perms of ptys... Submitted by: gurney_j@efn.org (John-Mark Gurney)
* Add /usr/local/sbin to the rc $PATH. Things like GateD are located there.joerg1996-12-191-2/+2
|
* start rpc.statd for nfs_server case.adam1996-11-131-1/+5
| | | | add warning and commented out line for rpc.lockd
* /dev/vn0b is supposed to be a block device, so don't test(1) whetherjoerg1996-11-031-2/+2
| | | | | | it's a plain file. Submitted by: brian@awfulhak.demon.co.uk (Brian Somers)
* Update to use the recommended recovery procedure from nvi-1.76.peter1996-11-011-5/+36
| | | | | | This is a lot more robust and handles errors a lot better. It also cleans up stray, hopeless, or unmodified files rather than leaving them there forever.
* Correct the startup sequence for syslogd:joerg1996-10-281-2/+8
| | | | | | | | | . crate the symlink for /dev/log if required, then . remove the old socket (savecore might have already created it accidentally), then . start syslogd. (Btw., our test(1) misses an option to test for a socket.)
* Add hooks for rpc.ypxfrd in /etc/sysconfig and /etc/rc. Also changewpaul1996-10-211-3/+7
| | | | | a couple of benign cases of 'yppasswdd' to 'rpc.yppasswdd.' (Like rpc.yppasswdd, rpc.ypxfrd should only be run on NIS master servers.)
* Add a -p to the amd invocation, it's not optional since we are expectingpeter1996-10-081-2/+2
| | | | | the pid on stdout for /var/run/amd.pid. The example in sysconfig had forgotten -p anyway...
* Some tweaks after having run a YP-only system with quotas:peter1996-10-081-15/+19
| | | | | | | | | | | | | | | | - split the "starting network daemons" in half. - The first half starts things necessary to get full name service up. - The quota check etc moved from "before network" to after the name services are running. quotacheck does a while(p=getpwent()) which isn't real good without YP running... - moved rwhod a little later to put it with the other network stuff. - deferred inetd a tad so that it's after ldconfig and dev_mkdb, otherwise you get logins before you're ready. Unresolved: named is started before ypserv/ypbind still, but named does a while(s = getservent()) and while (p=getprotoent()) to suck in the entire database into memory. This means you cannot have a "+" in the /etc/services or /etc/protocols files or you get a long hang at boot.
* Fix a possible syntax error in rc when swapfile isn't defined at all.imp1996-09-221-2/+2
| | | | | This can happen when the user is upgrading from an older version and his/her sysconfig file doesn't have swapfile defined to be NO in it.
* Add support for shlibs in /usr/lib/compat that the linker will not findphk1996-09-021-1/+2
| | | | at compile time, but ldd will at runtime.
* Add a new "swapfile" variable so that you can add a file as a additionaljkh1996-08-211-1/+7
| | | | swap as the system is coming up.
* Edit this for consistency's sake (though it's syntactically identical).jkh1996-07-301-2/+2
| | | | Noticed-By: "William A. Gill" <bill@duchess.wagill.com>
* Move things up a bit to make startup prettypst1996-07-181-10/+10
|
* Start sendmail after ldconfig. Put the nail in the coffin on misc/1346.pst1996-07-131-9/+9
| | | | Submitted by: Hiroharu Tamaru <tamaru@ap.t.u-tokyo.ac.jp>
* Start vi.recovery processing after ldconfig.pst1996-06-241-10/+10
| | | | Closes misc/1346 which has bitten me more times than I care to remember.
* Add a few hints about the cleaning policy of /tmp, including an examplejoerg1996-06-221-1/+18
| | | | (commented out) for how to purge it regularly.
* Cosmetic tweaks.jkh1996-06-151-1/+3
|
* Remove obsoleted comment about adjkerntzache1996-05-191-5/+1
|
* Nuke the nasty cleaning of /var/run after netstart starts - it nukesjkh1996-05-081-2/+2
| | | | gated's pid file, for one thing, and is just generally BAD.
OpenPOWER on IntegriCloud