VirtualBox

source: vbox/trunk/src/VBox/Installer/solaris/preremove.sh@ 52167

Last change on this file since 52167 was 47318, checked in by vboxsync, 11 years ago

Installer/Solaris, Additions/Installer/Solaris: SVN properties.

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

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