summaryrefslogtreecommitdiffstats
path: root/etc/rc.subr
Commit message (Collapse)AuthorAgeFilesLines
* This particular debugging statement is very verbose, making the restmtm2003-04-301-1/+1
| | | | | | | of the debug output hard to follow. Comment it out. It's commented out in NetBSD's version as well. Approved by: markm (mentor)(implicit)
* Write out the debug messages (from the previous commit) only ifmtm2003-01-201-5/+11
| | | | | | the evaluated command exists. Approved by: markm (mentor)(implicit)
* Make the debug messages, for when a script rolls its own start routine,mtm2003-01-181-1/+5
| | | | | | | more usefull. Currently it just says 'xxx_cmd'; whereas with this change it will name the routine that's being run. Approved by: markm (mentor)
* By popular demand, make the debug log to syslog.gordon2002-11-091-1/+3
| | | | Remove an extraneous return too.
* Diff reduction to NetBSD:gordon2002-11-081-19/+16
| | | | | | | | | | | | | Fix a minor grammer nit. Get rid of _echo that uses logger and just call logger in the 3 routines that need it. Add a comment referencing rc.conf(5) in the case of an incorrectly set variable. This pulls rc.subr up to 1.51 of rc.subr. I skipped 1.49 (systrace support) since I don't have systrace. Obtained from: NetBSD
* Remove the sourceing of rc.conf from the debug subroutine. This causedgordon2002-09-121-5/+0
| | | | problems when you try to override variables locally.
* Add a support for a ${OSTYPE} which is set once in /etc/rc.subr. Also convertgordon2002-09-061-3/+4
| | | | | | all instances of `${CMD_OSTYPE}` to just using ${OSTYPE}. This saves us a shell invocation on anything that is OS-dependent. I seriously doubt that we will be spontaneously changing OS types during bootup.
* Clean up some variables that should have been done before:gordon2002-08-141-1/+15
| | | | | | | | | | | xntpd_* -> ntpd_* portmap_* -> rpcbind_* Also change single_mountd_enable to mountd_enable. We also include shims for all the old variable names. Submitted by: Mike Makonnen <makonnen@pacbell.net>
* Bring this up to date with the latest NetBSD bits. Also add some bits ofgordon2002-06-131-145/+545
| | | | | | | our own. Submitted by: Mike Makonnen Reviewed by: silence on -current and -hackers
* Usage style sweep: spell "usage" with a small 'u'.des2002-04-221-1/+1
| | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/.
* Import the NetBSD 1.5 RC system.obrien2001-06-161-0/+586
Note that `rc' and `rc.shutdown' could not be imported because we already have files with those names.
OpenPOWER on IntegriCloud