FreeBSD Bugzilla – Attachment 163452 Details for
Bug 204763
sysutils/xe-guest-utilities: Enable xe-daemon by default
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
enable xe-daemon by default
xe-guest.patch (text/plain), 963 bytes, created by
Jincheng Miao
on 2015-11-23 10:08:15 UTC
(
hide
)
Description:
enable xe-daemon by default
Filename:
MIME Type:
Creator:
Jincheng Miao
Created:
2015-11-23 10:08:15 UTC
Size:
963 bytes
patch
obsolete
>--- sysutils/xe-guest-utilities/files/xenguest.in.ori 2015-11-23 17:44:09.752351404 +0800 >+++ sysutils/xe-guest-utilities/files/xenguest.in 2015-11-23 17:44:18.797351409 +0800 >@@ -8,22 +8,25 @@ > # > # Add the following lines to /etc/rc.conf.local or /etc/rc.conf > # to enable this service: >-# >-# xenguest_enable (bool): Set to NO by default. >-# Set it to YES to enable xenguest. >+# xenguest_enable (bool): Set according to kern.vm_guest by default. > > . /etc/rc.subr > >+checkvm_cmd="/sbin/sysctl kern.vm_guest | /usr/bin/grep xen > /dev/null" >+ > name=xenguest > rcvar=xenguest_enable > >-load_rc_config $name >- >-: ${xenguest_enable:=NO} >+start_precmd="${checkvm_cmd}" >+unset start_cmd >+stop_precmd="${checkvm_cmd}" >+unset stop_cmd > > pidfile=/var/run/xe-daemon.pid > command="%%PREFIX%%/sbin/xe-daemon" > command_interpreter=/bin/sh > command_args='-p ${pidfile} &' > >+load_rc_config $name >+[ -z "$xenguest_enable" ] && xenguest_enable="YES" > run_rc_command "$1"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
koobs
:
maintainer-approval-
Actions:
View
|
Diff
Attachments on
bug 204763
: 163452