Fix sipb-xen-vmcontrol to know about the new magic error code
[invirt/packages/invirt-remote.git] / files / usr / sbin / sipb-xen-remote
index 434009c..a6d1c02 100755 (executable)
@@ -17,18 +17,9 @@ case "$TYPE" in
             lvcreate|lvremove|lvrename|lvresize)
                 COMMAND=/usr/sbin/sipb-xen-lvm
                ;;
-            lvcopy)
-                COMMAND=/usr/sbin/sipb-xen-lvcopy
-               ;;
             vmboot)
                 COMMAND=/usr/sbin/sipb-xen-vmcontrol
                ;;
-            install)
-                COMMAND=/usr/sbin/sipb-xen-install
-               ;;
-            register|moveregister|unregister|remctl-moira-update)
-                COMMAND=/usr/sbin/sipb-xen-remctl-update
-               ;;
             listvms)
                 COMMAND=/usr/sbin/sipb-xen-listvms
                ;;
@@ -37,13 +28,13 @@ case "$TYPE" in
                ;;
             *)
                 echo "ERROR: invalid subcommand"
-                exit 1
+                exit 34
                 ;;
         esac
        ;;
     *)
         echo "ERROR: invalid command"
-        exit 1
+        exit 34
         ;;
 esac