Last change
on this file since 33223 was 32639, checked in by vboxsync, 14 years ago |
Solaris/Installer: Remote installation fix. Make package non-relocatable and use PKG_INSTALL_ROOT.
|
-
Property svn:eol-style
set to
LF
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
891 bytes
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 | #
|
---|
3 | # VirtualBox preremove script for Solaris.
|
---|
4 | #
|
---|
5 | # Copyright (C) 2007-2010 Oracle Corporation
|
---|
6 | #
|
---|
7 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
8 | # available from http://www.virtualbox.org. This file is free software;
|
---|
9 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
10 | # General Public License (GPL) as published by the Free Software
|
---|
11 | # Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
12 | # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
13 | # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
14 | #
|
---|
15 |
|
---|
16 | currentzone=`zonename`
|
---|
17 | if test "$currentzone" = "global"; then
|
---|
18 | echo "Removing VirtualBox services and drivers..."
|
---|
19 | ${PKG_INSTALL_ROOT:=/}/opt/VirtualBox/vboxconfig.sh --preremove
|
---|
20 | if test "$?" -eq 0; then
|
---|
21 | echo "Done."
|
---|
22 | exit 0
|
---|
23 | fi
|
---|
24 | echo 1>&2 "## Failed."
|
---|
25 | exit 1
|
---|
26 | fi
|
---|
27 |
|
---|
28 | exit 0
|
---|
29 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.