From a12dbdc6c93a7d63591610378e3e570b7c7d2143 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sun, 2 Mar 2008 21:13:21 +0000 Subject: Don't check for root in prefix. --- init.d.BSD/newsyslog.in | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 init.d.BSD/newsyslog.in (limited to 'init.d.BSD/newsyslog.in') diff --git a/init.d.BSD/newsyslog.in b/init.d.BSD/newsyslog.in new file mode 100644 index 00000000..4f7ade8c --- /dev/null +++ b/init.d.BSD/newsyslog.in @@ -0,0 +1,17 @@ +#!/sbin/runscript +# Copyright 2007-2008 Roy Marples +# All rights reserved. Released under the 2-clause BSD license. + +required_files="/etc/newsyslog.conf" + +depend() +{ + need localmount +} + +start() +{ + ebegin "Creating and/or trimming log files" + newsyslog -s ${newsyslog_args} + eend $? +} -- cgit v1.2.3