svn commit: r304459 - head/sysutils/xen-tools

Doug Barton dougb at FreeBSD.org
Wed Sep 19 01:24:13 UTC 2012


On 09/18/2012 13:52, Steve Wills wrote:
> Author: swills
> Date: Tue Sep 18 20:52:16 2012
> New Revision: 304459
> URL: http://svn.freebsd.org/changeset/ports/304459
> 
> Log:
>   - Fix RC script installation

While you're at it, how about fixing the actual script? :)

Doug

-- 

    I am only one, but I am one.  I cannot do everything, but I can do
    something.  And I will not let what I cannot do interfere with what
    I can do.
			-- Edward Everett Hale, (1822 - 1909)
-------------- next part --------------
Index: xe-daemon.in
===================================================================
--- xe-daemon.in	(revision 304475)
+++ xe-daemon.in	(working copy)
@@ -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='&'
+pidfile="/var/run/xe_wrapper.pid"
+
 run_rc_command "$1"


More information about the svn-ports-all mailing list