Nice the janitorial dds as well as ionicing them.
[invirt/packages/invirt-remote.git] / host / usr / sbin / invirt-remote
index 948d0f0..4c78d4e 100755 (executable)
@@ -11,19 +11,16 @@ case "$TYPE" in
     control)
         # $SERVICE is hostname
         COMMAND=/usr/sbin/invirt-vmcontrol
     control)
         # $SERVICE is hostname
         COMMAND=/usr/sbin/invirt-vmcontrol
-       ;;
+    ;;
     web)
         case "$SERVICE" in
             lvcreate|lvremove|lvrename|lvresize)
                 COMMAND=/usr/sbin/invirt-lvm
     web)
         case "$SERVICE" in
             lvcreate|lvremove|lvrename|lvresize)
                 COMMAND=/usr/sbin/invirt-lvm
-               ;;
+            ;;
             listvms)
                 COMMAND=/usr/sbin/invirt-listvms
             listvms)
                 COMMAND=/usr/sbin/invirt-listvms
-               ;;
-               info)
-                COMMAND=/usr/sbin/xm
             ;;
             ;;
-            availability)
+            availability|avail)
                 COMMAND=/usr/sbin/invirt-availability
             ;;
             vnccert)
                 COMMAND=/usr/sbin/invirt-availability
             ;;
             vnccert)
@@ -34,7 +31,7 @@ case "$TYPE" in
                 exit 34
                 ;;
         esac
                 exit 34
                 ;;
         esac
-       ;;
+    ;;
     *)
         echo "ERROR: invalid command"
         exit 34
     *)
         echo "ERROR: invalid command"
         exit 34