 -#               See http://libvirt.org
 -#
 -
--sysconfdir=@sysconfdir@
--localstatedir=@localstatedir@
--libvirtd=@sbindir@/libvirtd
+-sysconfdir="@sysconfdir@"
+-localstatedir="@localstatedir@"
+-libvirtd="@sbindir@"/libvirtd
 -
 -# Source function library.
 -test ! -r "$sysconfdir"/rc.d/init.d/functions ||
--  . "$sysconfdir"/rc.d/init.d/functions
+-    . "$sysconfdir"/rc.d/init.d/functions
 +sysconfdir=/etc
 +localstatedir=/var
 +libvirtd=/usr/sbin/libvirtd
+ 
+ # Source gettext library.
+ # Make sure this file is recognized as having translations: _("dummy")
+-. "@bindir@"/gettext.sh
++. /usr/bin/gettext.sh
+ 
+-export TEXTDOMAIN="@PACKAGE@" TEXTDOMAINDIR="@localedir@"
++export TEXTDOMAIN="libvirt" TEXTDOMAINDIR="/usr/share/locale"
  
  URIS=default
 -ON_BOOT=start


Origin: vendor
---
 tools/libvirt-guests.init.in |   79 +++++++++++++++++-------------------------
 tools/libvirt-guests.sysconf |    6 ++--
 2 files changed, 35 insertions(+), 50 deletions(-)

diff --git a/tools/libvirt-guests.init.in b/tools/libvirt-guests.init.in
index e28938d..0fe82fb 100644
--- a/tools/libvirt-guests.init.in
+++ b/tools/libvirt-guests.init.in
@@ -4,8 +4,8 @@
 #
 ### BEGIN INIT INFO

+ON_SHUTDOWN=shutdown
+SHUTDOWN_TIMEOUT=30
 
-test -f "$sysconfdir"/sysconfig/libvirt-guests &&
-    . "$sysconfdir"/sysconfig/libvirt-guests
+test -f "$sysconfdir"/default/libvirt-guests &&
+    . "$sysconfdir"/default/libvirt-guests
 
 LISTFILE="$localstatedir"/lib/libvirt/libvirt-guests
-VAR_SUBSYS_LIBVIRT_GUESTS="$localstatedir"/lock/subsys/libvirt-guests
