From 92914356843f86880ecd7a38a2505a1dcab62115 Mon Sep 17 00:00:00 2001 From: Mark Felder Date: Thu, 15 Aug 2013 14:13:45 +0000 Subject: rc script now passes rclint Approved by: swills (mentor) --- sysutils/xe-guest-utilities/Makefile | 1 + sysutils/xe-guest-utilities/files/xenguest.in | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'sysutils/xe-guest-utilities') diff --git a/sysutils/xe-guest-utilities/Makefile b/sysutils/xe-guest-utilities/Makefile index e0f419567a82..703983f8b1d4 100644 --- a/sysutils/xe-guest-utilities/Makefile +++ b/sysutils/xe-guest-utilities/Makefile @@ -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} diff --git a/sysutils/xe-guest-utilities/files/xenguest.in b/sysutils/xe-guest-utilities/files/xenguest.in index e3e1e75ca745..dd02894d1366 100644 --- a/sysutils/xe-guest-utilities/files/xenguest.in +++ b/sysutils/xe-guest-utilities/files/xenguest.in @@ -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" -- cgit v1.2.3