Blame | Last modification | View Log | RSS feed
#!/bin/sh## chkconfig: - 99 01# description: start/stop VMware VMs## Source function library.. /etc/rc.d/init.d/functionsvmware_start() {# Start Windows Server 2008 VM/usr/bin/vmrun start /VMs/PDC/PDC.vmx nogui}vmware_stop() {# Stop Windows Server 2008 VM/usr/bin/vmrun stop /VMs/PDC/PDC.vmx nogui}case $1 instart)echo "Starting VMWARE VMs"vmware_startexit 0;;stop)echo "Stopping VMWARE VMs"vmware_stopexit 0;;*)echo "Usage: /etc/init.d/vmware start|stop" >&2exit 0;;esac