Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Make newsyslog at boot optional, as it should have been.



details:   https://anonhg.NetBSD.org/src/rev/446681ae2615
branches:  trunk
changeset: 513964:446681ae2615
user:      ad <ad%NetBSD.org@localhost>
date:      Sat Aug 18 19:50:19 2001 +0000

description:
Make newsyslog at boot optional, as it should have been.

diffstat:

 etc/rc.d/newsyslog       |  3 ++-
 share/man/man5/rc.conf.5 |  9 ++++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diffs (42 lines):

diff -r 1e1be1c168b9 -r 446681ae2615 etc/rc.d/newsyslog
--- a/etc/rc.d/newsyslog        Sat Aug 18 19:42:40 2001 +0000
+++ b/etc/rc.d/newsyslog        Sat Aug 18 19:50:19 2001 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: newsyslog,v 1.1 2000/09/21 10:38:04 ad Exp $
+# $NetBSD: newsyslog,v 1.2 2001/08/18 19:50:19 ad Exp $
 #
 
 # PROVIDE: newsyslog
@@ -10,6 +10,7 @@
 . /etc/rc.subr
 
 name="newsyslog"
+rcvar=$name
 required_files="/etc/newsyslog.conf"
 start_precmd="checkyesno newsyslog"
 start_cmd="newsyslog_start"
diff -r 1e1be1c168b9 -r 446681ae2615 share/man/man5/rc.conf.5
--- a/share/man/man5/rc.conf.5  Sat Aug 18 19:42:40 2001 +0000
+++ b/share/man/man5/rc.conf.5  Sat Aug 18 19:50:19 2001 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: rc.conf.5,v 1.47 2001/06/17 01:14:15 lukem Exp $
+.\"    $NetBSD: rc.conf.5,v 1.48 2001/08/18 19:50:20 ad Exp $
 .\"
 .\" Copyright (c) 1996 Matthew R. Green
 .\" Copyright (c) 1997 Curt J. Sampson
@@ -193,6 +193,13 @@
 Requires
 .Pa /var/account/acct
 to exist.
+.It Sy newsyslog
+.Sq YES
+or
+.Sq NO .
+Run
+.Nm newsyslog
+to trim logfiles before syslogd starts.  Intended for laptop users.
 .El
 .Ss System security setting:
 .Bl -tag -width net_interfaces



Home | Main Index | Thread Index | Old Index