xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tools/hotplug/Linux/init.d: fix wrong path in xendomains init
@ 2014-08-08  9:17 Fabio Fantoni
  2014-08-08 10:04 ` Wei Liu
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Fantoni @ 2014-08-08  9:17 UTC (permalink / raw)
  To: xen-devel; +Cc: Fabio Fantoni, Ian.Jackson, Ian.Campbell

Fixed wrong path in xendomains init that make it not working, introduced
in commit d8bad9df2544291a0fdc8e4d826b16f9f5394462 (tools/xendomains:
move to libexec and use a smaller init helper).

Signed-off-by: Fabio Fantoni <fabio.fantoni@m2r.biz>
---
 tools/hotplug/Linux/init.d/xendomains | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tools/hotplug/Linux/init.d/xendomains b/tools/hotplug/Linux/init.d/xendomains
index d0122fc..43373d2 100644
--- a/tools/hotplug/Linux/init.d/xendomains
+++ b/tools/hotplug/Linux/init.d/xendomains
@@ -28,19 +28,19 @@
 
 case "$1" in
     start)
-	$SBINDIR/xendomains start
+	$LIBEXEC/xendomains start
 	;;
     stop)
-	$SBINDIR/xendomains stop
+	$LIBEXEC/xendomains stop
 	;;
     restart)
-	$SBINDIR/xendomains restart
+	$LIBEXEC/xendomains restart
 	;;
     reload)
-	$SBINDIR/xendomains reload
+	$LIBEXEC/xendomains reload
 	;;
     status)
-	$SBINDIR/xendomains status
+	$LIBEXEC/xendomains status
 	;;
     *)
 	echo "Usage: $0 {start|stop|restart|reload|status}"
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] tools/hotplug/Linux/init.d: fix wrong path in xendomains init
  2014-08-08  9:17 [PATCH] tools/hotplug/Linux/init.d: fix wrong path in xendomains init Fabio Fantoni
@ 2014-08-08 10:04 ` Wei Liu
  0 siblings, 0 replies; 2+ messages in thread
From: Wei Liu @ 2014-08-08 10:04 UTC (permalink / raw)
  To: Fabio Fantoni; +Cc: wei.liu2, xen-devel, Ian.Jackson, Ian.Campbell

On Fri, Aug 08, 2014 at 11:17:02AM +0200, Fabio Fantoni wrote:
> Fixed wrong path in xendomains init that make it not working, introduced
> in commit d8bad9df2544291a0fdc8e4d826b16f9f5394462 (tools/xendomains:
> move to libexec and use a smaller init helper).
> 
> Signed-off-by: Fabio Fantoni <fabio.fantoni@m2r.biz>

You also need to change $SBINDIR to $LIBEXEC in "Description" to match
actual code.

Other than that:

Reviewed-by: Wei Liu <wei.liu2@citrix.com>

Wei.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-08 10:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-08  9:17 [PATCH] tools/hotplug/Linux/init.d: fix wrong path in xendomains init Fabio Fantoni
2014-08-08 10:04 ` Wei Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).