Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Sep 2012 19:46:07 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r304542 - in head/sysutils/xen-tools: . files
Message-ID:  <201209191946.q8JJk7g2057062@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Wed Sep 19 19:46:07 2012
New Revision: 304542
URL: http://svn.freebsd.org/changeset/ports/304542

Log:
  - rc script cleanup
  
  PR:		ports/171775
  Submitted by:	Mark Felder <feld@feld.me> (maintainer)

Modified:
  head/sysutils/xen-tools/Makefile
  head/sysutils/xen-tools/files/xe-daemon.in   (contents, props changed)

Modified: head/sysutils/xen-tools/Makefile
==============================================================================
--- head/sysutils/xen-tools/Makefile	Wed Sep 19 19:43:43 2012	(r304541)
+++ head/sysutils/xen-tools/Makefile	Wed Sep 19 19:46:07 2012	(r304542)
@@ -6,7 +6,7 @@
 
 PORTNAME=	xen-tools
 PORTVERSION=	4.1.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 DISTNAME=	xen-${PORTVERSION}
 

Modified: head/sysutils/xen-tools/files/xe-daemon.in
==============================================================================
--- head/sysutils/xen-tools/files/xe-daemon.in	Wed Sep 19 19:43:43 2012	(r304541)
+++ head/sysutils/xen-tools/files/xe-daemon.in	Wed Sep 19 19:46:07 2012	(r304542)
@@ -1,7 +1,9 @@
 #!/bin/sh
 
+# $FreeBSD$
+#
 # PROVIDE: xe_daemon
-# REQUIRE: login
+# REQUIRE: LOGIN
 # KEYWORD: nojail shutdown
 #
 # Add the following lines to /etc/rc.conf.local or /etc/rc.conf
@@ -9,20 +11,19 @@
 #
 # xe_daemon_enable (bool): Set to NO by default.
 #       Set it to YES to enable xe_daemon.
-#
 
 . /etc/rc.subr
 
 name=xe_daemon
 rcvar=xe_daemon_enable
 
-command="%%PREFIX%%/sbin/xe_wrapper"
-command_interpreter="/bin/sh -T"
-command_args="%%PREFIX%%/sbin/xe-daemon &"
-
 load_rc_config $name
 
-pidfile="/var/run/xe_wrapper.pid"
 : ${xe_daemon_enable="NO"}
 
+command="%%PREFIX%%/sbin/xe_wrapper"
+command_interpreter="/bin/sh -T"
+command_args='%%PREFIX%%/sbin/xe-daemon &'
+pidfile="/var/run/xe_wrapper.pid"
+
 run_rc_command "$1"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209191946.q8JJk7g2057062>