mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
rc script now passes rclint
Approved by: swills (mentor)
This commit is contained in:
parent
a0b5e27b25
commit
9291435684
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=324770
@ -4,6 +4,7 @@
|
||||
|
||||
PORTNAME= xe-guest-utilities
|
||||
PORTVERSION= 6.0.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= https://github.com/${GIT_ACCOUNT}/${GIT_PROJECT}/tarball/${GIT_VERSION}/
|
||||
DISTNAME= ${GIT_ACCOUNT}-${GIT_PROJECT}-${GIT_VERSION}
|
||||
|
@ -19,11 +19,11 @@ rcvar=xenguest_enable
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${xe_daemon_enable="NO"}
|
||||
: ${xe_daemon_enable:=NO}
|
||||
|
||||
pidfile="/var/run/xe-daemon.pid"
|
||||
pidfile=/var/run/xe-daemon.pid
|
||||
command="%%PREFIX%%/sbin/xe-daemon"
|
||||
command_interpreter="/bin/sh"
|
||||
command_args='-p $pidfile &'
|
||||
command_interpreter=/bin/sh
|
||||
command_args='-p ${pidfile} &'
|
||||
|
||||
run_rc_command "$1"
|
||||
|
Loading…
Reference in New Issue
Block a user