mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
Directly add the rc.d script mbgsvcd into the files/ directory
rather than copying it from the downloaded tarball. Pointed out by: makc@
This commit is contained in:
parent
0432feadce
commit
7bd535968e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334328
@ -11,13 +11,8 @@ COMMENT= Drivers and tools for Meinberg PTP/GPS cards
|
||||
|
||||
LICENSE= BSD
|
||||
|
||||
USES= kmod
|
||||
|
||||
USE_RC_SUBR= mbgsvcd
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
USES= kmod
|
||||
|
||||
post-extract:
|
||||
${CP} ${WRKSRC}/scripts/mbgsvcd ${FILESDIR}/mbgsvcd.in
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
28
sysutils/mbgtools/files/mbgsvcd.in
Normal file
28
sysutils/mbgtools/files/mbgsvcd.in
Normal file
@ -0,0 +1,28 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $Id: mbgsvcd 1.1 2011/07/06 13:26:01 martin TEST $
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
# PROVIDE: mbgsvcd
|
||||
# REQUIRE: DAEMON
|
||||
# KEYWORD: shutdown
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="mbgsvcd"
|
||||
rcvar=`set_rcvar`
|
||||
command="/usr/local/sbin/${name}"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
#
|
||||
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
||||
# SET THEM IN THE /etc/rc.conf FILE
|
||||
#
|
||||
## utility_enable=${utility_enable-"NO"}
|
||||
## utility_pidfile=${utility_pidfile-"/var/run/utility.pid"}
|
||||
|
||||
## pidfile="${utility_pidfile}"
|
||||
|
||||
run_rc_command "$1"
|
Loading…
Reference in New Issue
Block a user