diff options
author | brooks <brooks@FreeBSD.org> | 2005-03-02 00:40:55 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2005-03-02 00:40:55 +0000 |
commit | 14774e80eefdef732d74a62d75bcdc6aff9e4c9f (patch) | |
tree | e969c9f76b3e8fece910139459351bb564710ae3 /etc/defaults | |
parent | d861d0ef47882721d597ea9b083ccadab77a0af9 (diff) | |
download | FreeBSD-src-14774e80eefdef732d74a62d75bcdc6aff9e4c9f.zip FreeBSD-src-14774e80eefdef732d74a62d75bcdc6aff9e4c9f.tar.gz |
- Update etc/rc.d/newsyslog to FreeBSD standards and install it.
- 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.
Diffstat (limited to 'etc/defaults')
-rw-r--r-- | etc/defaults/rc.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index a876378..c28241b 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -480,6 +480,8 @@ virecover_enable="YES" # Perform housekeeping for the vi(1) editor ugidfw_enable="NO" # Load mac_bsdextended(4) rules on boot bsdextended_script="/etc/rc.bsdextended" # Default mac_bsdextended(4) # ruleset file. +newsyslog_enable="YES" # Run newsyslog at startup. +newsyslog_flags="-CN" # Newsyslog flags to create marked files ############################################################## ### Jail Configuration ####################################### |