Lines 8149-8155
Link Here
|
8149 |
error('Please shut down any running VMs and run this script again.' . |
8149 |
error('Please shut down any running VMs and run this script again.' . |
8150 |
"\n\n"); |
8150 |
"\n\n"); |
8151 |
} else { |
8151 |
} else { |
8152 |
if (system(shell_string(db_get_answer('INITSCRIPTSDIR') . '/vmware') |
8152 |
if (system(shell_string('/etc/init.d/vmware') |
8153 |
. ' stop')) { |
8153 |
. ' stop')) { |
8154 |
error('Unable to stop services for ' . vmware_product_name() . |
8154 |
error('Unable to stop services for ' . vmware_product_name() . |
8155 |
"\n\n"); |
8155 |
"\n\n"); |
Lines 8248-8254
Link Here
|
8248 |
db_save(); |
8248 |
db_save(); |
8249 |
# Then start VMware's services |
8249 |
# Then start VMware's services |
8250 |
if (!$gOption{'skipstopstart'}) { |
8250 |
if (!$gOption{'skipstopstart'}) { |
8251 |
system(shell_string(db_get_answer('INITSCRIPTSDIR') . '/vmware') . ' start'); |
8251 |
system(shell_string('/etc/init.d/vmware') . ' start'); |
8252 |
print "\n"; |
8252 |
print "\n"; |
8253 |
} |
8253 |
} |
8254 |
|
8254 |
|