svn commit: r304542 - in head/sysutils/xen-tools: . files
Steve Wills
swills at FreeBSD.org
Wed Sep 19 19:46:07 UTC 2012
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 at 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"
More information about the svn-ports-all
mailing list