Remove reundant quote.
[netbsd-mini2440.git] / etc / rc.d / newsyslog
blob0a4aa8dcef793324f474eb4dccb35bef5025e80e
1 #!/bin/sh
3 # $NetBSD: newsyslog,v 1.5 2002/03/24 15:51:26 lukem Exp $
6 # PROVIDE: newsyslog
7 # REQUIRE: mountcritremote sysdb
8 # BEFORE: syslogd SERVERS
10 $_rc_subr_loaded . /etc/rc.subr
12 name="newsyslog"
13 rcvar=$name
14 required_files="/etc/newsyslog.conf"
15 start_cmd="newsyslog_start"
16 stop_cmd=":"
18 newsyslog_start()
20 echo -n "Trimming log files:"
21 /usr/bin/newsyslog -s $rc_flags
22 echo " done."
25 load_rc_config $name
26 run_rc_command "$1"