- Timestamp:
- Sep 13, 2007, 11:10:31 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r144 r145 477 477 pb_system("ssh -q -p $port $mac \"rm -rf $tdir\"","VM cleanup on $mac"); 478 478 if (! $vmexist) { 479 pb_system("ssh -q -p $port $mac \"sudo /usr/bin/poweroff \"; sleep 120 ; if [-d /proc/$vmexist]; then kill $vmexist; fi; sleep 10","VM halt on $mac");479 pb_system("ssh -q -p $port $mac \"sudo /usr/bin/poweroff \"; sleep 120 ; echo \'if [ -d /proc/$vmexist ]; then kill $vmexist; fi \' | bash ; sleep 10","VM halt on $mac"); 480 480 } 481 481 pb_send2ssh("Packages","$odir"."_"."$over"); … … 644 644 } 645 645 646 # Returns the pid of a running VM command using a specific VM file 646 647 sub pb_check_ps { 647 648 my $vmcmd = shift;
Note:
See TracChangeset
for help on using the changeset viewer.