VirtualBox

source: vbox/trunk/src/VBox/Installer/darwin/VirtualBox_mpkg/checkforrunningvms@ 31655

Last change on this file since 31655 was 31655, checked in by vboxsync, 15 years ago

export darwin installer to OSE

  • Property svn:executable set to *
File size: 311 bytes
Line 
1#!/bin/sh
2
3#
4# Copyright (C) 2008-2010 Oracle Corporation
5#
6# Use only with permission.
7#
8
9GREP=/usr/bin/grep
10PS=/bin/ps
11
12RESULT=0
13
14# Check if there are running vms
15PROCS=`${PS} -e | ${GREP} -E "VirtualBoxVM.*startvm|VBoxNetDHCP" | ${GREP} -v grep`
16if [ "${PROCS}x" != "x" ]; then
17 RESULT=1;
18fi
19
20exit $RESULT
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette