Change in vdsm[master]: changed upstart_libvirt function name

ybronhei at redhat.com ybronhei at redhat.com
Sun Sep 2 12:09:52 UTC 2012


Yaniv Bronhaim has uploaded a new change for review.

Change subject: changed upstart_libvirt function name
......................................................................

changed upstart_libvirt function name

Change-Id: I7b773b04766346ab93333b00fba6a1f083cffd89
Signed-off-by: Yaniv Bronhaim <ybronhei at redhat.com>
---
M vdsm/vdsmd.init.in
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/71/7671/1

diff --git a/vdsm/vdsmd.init.in b/vdsm/vdsmd.init.in
index 4a66136..397d888 100755
--- a/vdsm/vdsmd.init.in
+++ b/vdsm/vdsmd.init.in
@@ -147,7 +147,7 @@
     return 0
 }
 
-upstart_libvirt() {
+libvirt_should_use_upstart() {
     [[ -x /sbin/initctl ]]
 }
 
@@ -414,7 +414,7 @@
 stop_libvirtd_sysv() {
     # stop libvirt SysV service if we intend to configure upstart
 
-    if upstart_libvirt && ! [[ -f /etc/init/libvirtd.conf ]]; then
+    if libvirt_should_use_upstart && ! [[ -f /etc/init/libvirtd.conf ]]; then
         /sbin/chkconfig libvirtd off
         /sbin/service libvirtd stop
     fi
@@ -442,7 +442,7 @@
     local packaged target
     local startout
 
-    if ! upstart_libvirt; then
+    if ! libvirt_should_use_upstart; then
         /sbin/service libvirtd start
         return
     fi


--
To view, visit http://gerrit.ovirt.org/7671
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7b773b04766346ab93333b00fba6a1f083cffd89
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <ybronhei at redhat.com>


More information about the vdsm-patches mailing list