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 |
|
---|
9 | GREP=/usr/bin/grep
|
---|
10 | PS=/bin/ps
|
---|
11 |
|
---|
12 | RESULT=0
|
---|
13 |
|
---|
14 | # Check if there are running vms
|
---|
15 | PROCS=`${PS} -e | ${GREP} -E "VirtualBoxVM.*startvm|VBoxNetDHCP" | ${GREP} -v grep`
|
---|
16 | if [ "${PROCS}x" != "x" ]; then
|
---|
17 | RESULT=1;
|
---|
18 | fi
|
---|
19 |
|
---|
20 | exit $RESULT
|
---|
Note:
See
TracBrowser
for help on using the repository browser.