Changeset 127
- Timestamp:
- Oct 7, 2007, 8:49:00 PM (17 years ago)
- Location:
- trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/files/usr/sbin
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/files/usr/sbin/dispatch.sh
r121 r127 12 12 ACTION=$(echo "$0" | awk -F'.' '{print $2}') 13 13 MACHINE="$1" 14 echo"$ACTION"14 #echo "$0" "$ACTION" 15 15 16 16 case "$ACTION" in 17 reboot|list|vcpu-list|destroy|create|uptime)17 list|vcpu-list|destroy|create|uptime) 18 18 xm "$ACTION" "$MACHINE" 19 19 exit 0 20 ;; 21 reboot-with-cdrom) 22 xm shutdown "$MACHINE" 23 xm create sipb-database machine_name="$MACHINE" cdrom_image="$2" 24 ;; 25 reboot) 26 if [ -n "$2" ]; then 27 /usr/sbin/dispatch.reboot-with-cdrom.sh "$1" "$2" & 28 else 29 xm reboot "$MACHINE" 30 fi 20 31 ;; 21 32 list-long)
Note: See TracChangeset
for help on using the changeset viewer.