More web interface support code.
[invirt/packages/invirt-remote.git] / files / usr / sbin / dispatch.sh
index 00576dd..7abf70d 100755 (executable)
 
 ACTION=$(echo "$0" | awk -F'.' '{print $2}')
 MACHINE="$1"
 
 ACTION=$(echo "$0" | awk -F'.' '{print $2}')
 MACHINE="$1"
-#echo "$0" "$ACTION"
 
 case "$ACTION" in
 
 case "$ACTION" in
-    list|vcpu-list|destroy|create|uptime)
+    list|vcpu-list|destroy|create|uptime|shutdown)
         xm "$ACTION" "$MACHINE"
         exit 0
        ;;
         xm "$ACTION" "$MACHINE"
         exit 0
        ;;