sipb-xen-remctl-auto -> invirt-remote-host
[invirt/packages/invirt-remote.git] / files / usr / sbin / invirt-vmcontrol
similarity index 86%
rename from files/usr/sbin/sipb-xen-vmcontrol
rename to files/usr/sbin/invirt-vmcontrol
index 0c20109..b5c1d9c 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/bash
-# sipb-xen-vmcontrol MACHINE ACTION
+# invirt-vmcontrol MACHINE ACTION
 #
 # remctl should have already verified that the user is authorized to
 # control the machine.  So, we just need to execute the action requested.
@@ -19,7 +19,7 @@ case "$ACTION" in
        ;;
     destroy|shutdown)
        xm "$ACTION" "$MACHINE"
-       /usr/sbin/sipb-xen-update-conserver </dev/null >/dev/null 2>&1 &
+       /usr/sbin/invirt-update-conserver </dev/null >/dev/null 2>&1 &
        ;;
     install|create|reboot)
        shift; shift;
@@ -35,7 +35,7 @@ case "$ACTION" in
        else
            xm create sipb-database machine_name="$ORIGMACHINE"
        fi
-       (sleep 4; /usr/sbin/sipb-xen-update-conserver) </dev/null >/dev/null 2>&1 &
+       (sleep 4; /usr/sbin/invirt-update-conserver) </dev/null >/dev/null 2>&1 &
        ;;
     list-long)
        xm list --long "$MACHINE"