summaryrefslogtreecommitdiffstats
path: root/etc/rc
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Bring in ccd support.asami1996-05-031-1/+7
| | | | | | Call ccdconfig before swapon if /etc/ccd.conf exists. Obtained from: NetBSD
* Renamed the relevant PC-Card support files to reflect the newest release.nate1996-03-141-3/+3
|
* PC-CARD hooks. Someday it will actually enable working code. :)nate1996-03-121-1/+6
| | | | | | | | Reviewed by: phk Submitted by: Tatsumi Hosokawa <hosokawa@mt.cs.keio.ac.jp> & BSD Nomads I re-wrote alot of this, but the ideas are based on the code from the most recent pccard-snapshot.
* rpc.yppasswdd instead of yppasswddadam1996-02-231-2/+2
|
* Close PR conf/589 - amd should only evaluate ${amdflags}.jkh1996-02-091-2/+2
| | | | | | | | While I'm at it, add a commented-out sample amd flags line to sysconfig and drop a sample amd.map file in this directory for easy copying. I know that this file's contents are highly site-variable, but the one I've chosen for an example is also the one I've seen on 99.9% of the amd-using sites I've visited. I think it's a fair default.
* Add an option to start mrouted. Off by defaultgpalmer1996-01-291-1/+6
|
* Add (at long last) an option to say if you want to run the printergpalmer1996-01-281-2/+5
| | | | daemon (lpd) or not. Set to run it by default.
* added the "-p" option to amd so that it writes it's pid tograichen1996-01-161-2/+3
| | | | | | /var/run/amd.pid and added the "-l /var/log/amd.log" option there too added an entry for the "rotation" of /var/log/amd.log to newsyslog.conf
* Go to new scheme for local_startup variable. Now one can specify multiplejkh1995-12-281-5/+8
| | | | | | | | | | | directories to check in looking for port startup scripts. The specific gunge for apache httpd, gated and pcnfsd in /etc/sysconfig and /etc/netstart is gone now. Note that pcnfsd's troubles aren't necessarily over (and probably why NetBSD brought it into their sources) - anyone adding pcnfsd will STILL have to tweak /etc/sysconfig in order to set the new variable `weak_mountd_authentication' to YES. The flags to mountd are directly affected by pcnfsd's requirements for non-root mounts, unfortunately! :-( Submitted by: paul & jkh
* Use absolute path for sendmail daemon or sendmail can't findache1995-12-091-2/+2
| | | | itself on SIGHUP.
* remove path in front of kadmind, path already set correctlypst1995-11-041-2/+2
|
* Don't have ldconfig look in /usr/gnu/lib since it was removed before 2.0R.nate1995-11-011-2/+1
|
* If accounting becomes enabled and /var/account/acctache1995-11-011-2/+6
| | | | | not exist, touch it, or accounting is never started (it must be pre-existen file).
* Use back-quotes in `echo ...recover.*`ache1995-10-291-2/+2
|
* Recover vi recovery files on reboot.pst1995-10-281-3/+3
| | | | Closes pr misc/556 and others.
* local_startup=/usr/local/etc/rc.djkh1995-09-191-2/+2
| | | | | | | | | | [ As suggested by Satoshi - rc.local.d was pretty redundant under /usr/local; duh! :-)] [ -f /etc/rc.local ] && sh /etc/rc.local For backwards compatibilty with non-executable rc.local files. Sorry, Bruce! Submitted by: asami & bde & jkh
* Bring my fixes over from 2.1.jkh1995-09-191-6/+6
|
* Removed startup code for pcnfsd and apache. These don't even existpaul1995-09-181-13/+3
| | | | | | | | | in FreeBSD and should never have got in here. Removed hard-coded /etc/rc.local.d hacks and implemented a more flexible solution. Added a local configuration area to sysconfig.
* Add support for /etc/rc.local.d directory, ala SYSV. If the puristsjkh1995-09-181-4/+8
| | | | | | | | | don't like it, they don't have to use it. The check makes sure that /etc/rc.local.d exists before attempting to do anything with it. Now packages will be able to add their startups as /etc/rc.local.d/<pkgname>.sh in order to get local startup behavior. Maybe we can stop adding knobs to /etc/sysconfig for ports/packages now? Submitted by: wollman & jkh
* Add checks for pcnfsd (flag to mountd must be added in this case)jkh1995-09-141-2/+17
| | | | and Apache httpd, so a user can be brought up to speed quickly.
* 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.
OpenPOWER on IntegriCloud