summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/newsyslog
diff options
context:
space:
mode:
authorgordon <gordon@FreeBSD.org>2002-06-13 22:14:37 +0000
committergordon <gordon@FreeBSD.org>2002-06-13 22:14:37 +0000
commit9c5433cb225f7a4e56e87623ea2e4011179553a5 (patch)
tree3168589e209abd888b033397e3c46dee6131a116 /etc/rc.d/newsyslog
parent50d99cdfecd92f5323a18aa791a5b1cb9d8b7191 (diff)
downloadFreeBSD-src-9c5433cb225f7a4e56e87623ea2e4011179553a5.zip
FreeBSD-src-9c5433cb225f7a4e56e87623ea2e4011179553a5.tar.gz
Merge in all the changes that Mike Makonnen has been maintaining for a
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
Diffstat (limited to 'etc/rc.d/newsyslog')
-rwxr-xr-xetc/rc.d/newsyslog9
1 files changed, 5 insertions, 4 deletions
diff --git a/etc/rc.d/newsyslog b/etc/rc.d/newsyslog
index a842e40..5a3927e 100755
--- a/etc/rc.d/newsyslog
+++ b/etc/rc.d/newsyslog
@@ -1,24 +1,25 @@
#!/bin/sh
#
-# $NetBSD$
+# $NetBSD: newsyslog,v 1.5 2002/03/24 15:51:26 lukem Exp $
+# $FreeBSD$
#
# PROVIDE: newsyslog
# REQUIRE: mountcritremote sysdb
-# BEFORE: syslogd
+# BEFORE: syslogd SERVERS
. /etc/rc.subr
name="newsyslog"
+rcvar=$name
required_files="/etc/newsyslog.conf"
-start_precmd="checkyesno newsyslog"
start_cmd="newsyslog_start"
stop_cmd=":"
newsyslog_start()
{
echo -n "Trimming log files:"
- /usr/bin/newsyslog -s $newsyslog_flags
+ /usr/bin/newsyslog -s $rc_flags
echo " done."
}
OpenPOWER on IntegriCloud