rc script cleanup thanks to dougb for the patch Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: suffix)
Class Changed From-To: change-request->maintainer-update Fix category (submitter is maintainer) (via the GNATS Auto Assign Tool)
Responsible Changed From-To: freebsd-ports-bugs->swills swills@ wants his PRs (via the GNATS Auto Assign Tool)
State Changed From-To: open->closed Committed. Thanks!
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" _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"