Changeset 47880 in vbox for trunk/src/VBox/Installer/darwin
- Timestamp:
- Aug 20, 2013 9:47:09 AM (11 years ago)
- Location:
- trunk/src/VBox/Installer/darwin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/darwin/DiskImage/VirtualBox_Uninstall.tool
r46977 r47880 127 127 # Note! comm isn't supported on Tiger, so we make -c to do the stripping. 128 128 # 129 my_processes="`ps -axco 'pid uid command' | grep -wEe '(VirtualBox|VirtualBoxVM|VBoxManage|VBoxHeadless|vboxwebsrv|VBoxXPCOMIPCD|VBoxSVC|VBoxNetDHCP )' | grep -vw grep | grep -vw VirtualBox_Uninstall.tool | tr '\n' '\a'`";129 my_processes="`ps -axco 'pid uid command' | grep -wEe '(VirtualBox|VirtualBoxVM|VBoxManage|VBoxHeadless|vboxwebsrv|VBoxXPCOMIPCD|VBoxSVC|VBoxNetDHCP|VBoxNetLwipNAT)' | grep -vw grep | grep -vw VirtualBox_Uninstall.tool | tr '\n' '\a'`"; 130 130 if test -n "$my_processes"; then 131 131 echo 'Warning! Found the following active VirtualBox processes:' -
trunk/src/VBox/Installer/darwin/Makefile.kmk
r47448 r47880 445 445 MacOS/VirtualBox.dylib \ 446 446 MacOS/VBoxNetDHCP.dylib \ 447 MacOS/VBoxNetLwipNAT.dylib \ 447 448 MacOS/VBoxHeadless.dylib 448 449 endif … … 496 497 MacOS/VBoxNetAdpCtl \ 497 498 MacOS/VBoxNetDHCP \ 499 MacOS/VBoxNetLwipNAT \ 498 500 MacOS/VBoxExtPackHelperApp \ 499 501 MacOS/VBoxBalloonCtrl \ … … 827 829 ifdef VBOX_WITH_COMBINED_PACKAGE 828 830 sudo chmod u+s \ 829 $(foreach bin,VBoxHeadless VirtualBox VirtualBoxVM VBoxNetAdpCtl VBoxNetDHCP ,\831 $(foreach bin,VBoxHeadless VirtualBox VirtualBoxVM VBoxNetAdpCtl VBoxNetDHCP VBoxNetLwipNAT,\ 830 832 $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/MacOS/$(bin)-x86 \ 831 833 $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/MacOS/$(bin)-amd64) 832 834 else 833 835 sudo chmod u+s \ 834 $(foreach bin,VBoxHeadless VirtualBox VirtualBoxVM VBoxNetAdpCtl VBoxNetDHCP ,\836 $(foreach bin,VBoxHeadless VirtualBox VirtualBoxVM VBoxNetAdpCtl VBoxNetDHCP VBoxNetLwipNAT,\ 835 837 $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/MacOS/$(bin)-$(KBUILD_TARGET_ARCH)) 836 838 endif -
trunk/src/VBox/Installer/darwin/VirtualBox_mpkg/distribution.dist
r43008 r47880 56 56 /* Embedded scripts are not available here. So, just do a command 57 57 line checking for running VMs instead. */ 58 rcScript = system.run('/bin/sh', '-c', '/bin/ps -e | /usr/bin/grep -E "VirtualBoxVM.*startvm|VBoxNetDHCP " | /usr/bin/grep -qv grep');58 rcScript = system.run('/bin/sh', '-c', '/bin/ps -e | /usr/bin/grep -E "VirtualBoxVM.*startvm|VBoxNetDHCP|VBoxNetLwipNAT" | /usr/bin/grep -qv grep'); 59 59 result = (rcScript != 0); 60 60 system.log("system.run /bin/sh .. returned: " + rcScript + " result=" + result);
Note:
See TracChangeset
for help on using the changeset viewer.