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

[Xen-changelog] [xen master] tools/hotplug/Linux/init.d: fix wrong path in xendomains init



commit dea878490c5b0b425dc235df1380824ecca77624
Author:     Fabio Fantoni <fabio.fantoni@xxxxxxx>
AuthorDate: Fri Aug 8 12:46:35 2014 +0200
Commit:     Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Thu Aug 21 23:32:43 2014 +0100

    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>
    Reviewed-by: Wei Liu <wei.liu2@xxxxxxxxxx>
    Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 tools/hotplug/Linux/init.d/xendomains |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/tools/hotplug/Linux/init.d/xendomains 
b/tools/hotplug/Linux/init.d/xendomains
index d0122fc..3857602 100644
--- a/tools/hotplug/Linux/init.d/xendomains
+++ b/tools/hotplug/Linux/init.d/xendomains
@@ -20,7 +20,7 @@
 # Short-Description: Wrapper to start/stop secondary xen domains
 # Description:       Wrapper for starting / stopping domains automatically
 #                    when domain 0 boots / shuts down on systems using init.
-#                    The $SBINDIR/xendomains helper is shared between init and
+#                    The $LIBEXEC/xendomains helper is shared between init and
 #                    systemd systems.
 ### END INIT INFO
 
@@ -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}"
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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