summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/newsyslog
Commit message (Collapse)AuthorAgeFilesLines
* In regards to the "Starting foo:" type messages at boot time, create anddougb2009-10-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | employ a more generic solution, and use it in the individual rc.d scripts that also have an $rc_quiet test: 1. Add check_startmsgs() to rc.subr. 2. In the rc.d scripts that use rc_quiet (and rc.subr) substitute variations of [ -z "$rc_quiet" ] with check_startmsgs 3. In savecore add a trailing '.' to the end of the message to make it more consistent with other scripts. 4. In newsyslog remove a : before the terminal '.' since we do not expect there to be anything printed out in between to make it more consistent. 5. In the following scripts change "quotes" to 'quotes' where no variables exist in the message: savecore pf newsyslog 6. In the following scripts substitute if/then/fi for the simpler (and more consistent) check_startmsgs &&: faith stf 7. In the following scripts separate the "Starting foo:" from the terminal '.' to make them more consistent: moused hostname pf 8. In nfsclient move the message to its own line to avoid a style bug 9. In pf rc_quiet does not apply to the _stop method, so remove the test there. 10. In motd add 'quotes' around the terminal '.' for consistency
* Move a lot of diagnostic output behind $rc_quiet in scripts thatmtm2008-06-231-2/+2
| | | | implement their own start command.
* Remove $NetBSD$ CVS tags. We no longer attempt to synch our rc.d filesdougb2007-12-081-1/+0
| | | | | with theirs, so this information doesn't need to be in the live file. Having it in our CVS history is enough.
* syslogd should REQUIRE newsyslog, rather than newsyslog usingdougb2005-12-211-1/+0
| | | | | BEFORE: syslogd. This does not produce any change in the ordering at the moment, but is cleaner style for the long term.
* Use ${name} in pathnames where appropriate.yar2005-10-281-1/+1
| | | | | The sendmail script already was on this way, but it didn't reach the end of it yet.
* - Update etc/rc.d/newsyslog to FreeBSD standards and install it.brooks2005-03-021-6/+7
| | | | | | | | | | | | | | | | | - Enable it by default, running newsyslog with -CN which creates files that have the C flag specified in /etc/newsyslog.conf. - Remove the "newsyslog -CC" call from etc/rc.d/var and the check for newsyslog. - Add the C flag to entries in /etc/newsyslog.conf that are currently installed as part of the base system. There are two effects from this change: - Users who delete default syslog files to stop logging to them will need to set newsyslog_enable=NO in rc.conf or remove the C flag from those file in /etc/newsyslog.conf or they will come back on the next boot. - Diskless systems now create the same set of files that ordinary systems have by default instead of every file in newsyslog.conf.
* Merge in all the changes that Mike Makonnen has been maintaining for agordon2002-06-131-4/+5
| | | | | | | | while. This is only the script pieces, the glue for the build comes next. Submitted by: Mike Makonnen <makonnen@pacbell.net> Reviewed by: silence on -current and -hackers Prodded by: rwatson
* Import the NetBSD 1.5 RC system.obrien2001-06-161-0/+26
Note that `rc' and `rc.shutdown' could not be imported because we already have files with those names.
OpenPOWER on IntegriCloud