use /bin/ksh in /etc/rc.d/rsyslogd

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

use /bin/ksh in /etc/rc.d/rsyslogd

Remi Locherer
Hi,

danj@ noticed that I'm using /bin/sh instead of /bin/ksh in the rc.d
script for rsyslogd. This changes it.

OK?

Remi


Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/rsyslog/Makefile,v
retrieving revision 1.40
diff -u -p -r1.40 Makefile
--- Makefile 12 Mar 2018 17:42:08 -0000 1.40
+++ Makefile 12 Mar 2018 20:18:42 -0000
@@ -18,6 +18,7 @@ PKGNAME-normalize = rsyslog-normalize-$V
 PKGNAME-pgsql = rsyslog-pgsql-$V
 PKGNAME-elasticsearch = rsyslog-elasticsearch-$V
 CATEGORIES = sysutils
+REVISION-main = 1
 
 HOMEPAGE = http://www.rsyslog.com/
 
Index: pkg/rsyslogd.rc
===================================================================
RCS file: /cvs/ports/sysutils/rsyslog/pkg/rsyslogd.rc,v
retrieving revision 1.1
diff -u -p -r1.1 rsyslogd.rc
--- pkg/rsyslogd.rc 12 Mar 2018 17:42:08 -0000 1.1
+++ pkg/rsyslogd.rc 12 Mar 2018 20:14:36 -0000
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/ksh
 #
 # $OpenBSD: rsyslogd.rc,v 1.1 2018/03/12 17:42:08 remi Exp $
 

Reply | Threaded
Open this post in threaded view
|

Re: use /bin/ksh in /etc/rc.d/rsyslogd

Remi Locherer
On Mon, Mar 12, 2018 at 09:28:30PM +0100, Remi Locherer wrote:
> Hi,
>
> danj@ noticed that I'm using /bin/sh instead of /bin/ksh in the rc.d
> script for rsyslogd. This changes it.
>
> OK?
>
> Remi
>

tb@ pointed out that we start with REVISON = 0. Updated diff below.

OK?


Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/rsyslog/Makefile,v
retrieving revision 1.40
diff -u -p -r1.40 Makefile
--- Makefile 12 Mar 2018 17:42:08 -0000 1.40
+++ Makefile 12 Mar 2018 21:08:00 -0000
@@ -18,6 +18,7 @@ PKGNAME-normalize = rsyslog-normalize-$V
 PKGNAME-pgsql = rsyslog-pgsql-$V
 PKGNAME-elasticsearch = rsyslog-elasticsearch-$V
 CATEGORIES = sysutils
+REVISION-main = 0
 
 HOMEPAGE = http://www.rsyslog.com/
 
Index: pkg/rsyslogd.rc
===================================================================
RCS file: /cvs/ports/sysutils/rsyslog/pkg/rsyslogd.rc,v
retrieving revision 1.1
diff -u -p -r1.1 rsyslogd.rc
--- pkg/rsyslogd.rc 12 Mar 2018 17:42:08 -0000 1.1
+++ pkg/rsyslogd.rc 12 Mar 2018 20:14:36 -0000
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/ksh
 #
 # $OpenBSD: rsyslogd.rc,v 1.1 2018/03/12 17:42:08 remi Exp $