aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-15 00:49:53 +0000
committerRoy Marples <roy@marples.name>2008-01-15 00:49:53 +0000
commitb29c4aa9267592472cc591be88de6a854d24dd66 (patch)
tree81c55d8e68a749cbf1a4c4d1c09b5f4f3d844b01
parent7fe30026b371eb9abee5c2b07c50fde2630920d3 (diff)
Fix newsyslog on NetBSD.
-rw-r--r--init.d.BSD/newsyslog2
-rw-r--r--init.d.BSD/syslogd4
2 files changed, 3 insertions, 3 deletions
diff --git a/init.d.BSD/newsyslog b/init.d.BSD/newsyslog
index a03d3798..4f7ade8c 100644
--- a/init.d.BSD/newsyslog
+++ b/init.d.BSD/newsyslog
@@ -12,6 +12,6 @@ depend()
start()
{
ebegin "Creating and/or trimming log files"
- newsyslog ${newsyslog_args}
+ newsyslog -s ${newsyslog_args}
eend $?
}
diff --git a/init.d.BSD/syslogd b/init.d.BSD/syslogd
index c583d248..e90ba1a9 100644
--- a/init.d.BSD/syslogd
+++ b/init.d.BSD/syslogd
@@ -13,7 +13,7 @@ name="System Logger Daemon"
depend()
{
provide logger
- use net
+ use net newsyslog
need localmount
- after bootmisc newsyslog
+ after bootmisc
}