Add rcvar=${name} to rc.d script.

From Christoph Lemke in PR 51799.
This commit is contained in:
wiz 2017-01-08 15:42:54 +00:00
parent 7f28b9aeec
commit d71dbeaec7
2 changed files with 4 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.21 2016/12/04 05:17:35 ryoon Exp $
# $NetBSD: Makefile,v 1.22 2017/01/08 15:42:54 wiz Exp $
DISTNAME= minidlna-1.1.5
PKGREVISION= 3
PKGREVISION= 4
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=minidlna/}

View file

@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: minidlna.sh,v 1.3 2015/01/15 20:53:18 degroote Exp $
# $NetBSD: minidlna.sh,v 1.4 2017/01/08 15:42:54 wiz Exp $
#
# PROVIDE: minidlna
# REQUIRE: DAEMON
@ -9,6 +9,7 @@
. /etc/rc.subr
name="minidlna"
rcvar=$name
required_files="@PKG_SYSCONFDIR@/minidlna.conf"
pidfile="/var/run/minidlna/minidlna.pid"
command="@PREFIX@/sbin/minidlnad"