[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] tools/hotplug/Linux/init.d: fix wrong path in xendomains init



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@xxxxxxx>
---
 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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.