VirtualBox

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

Last change on this file since 68253 was 58687, checked in by vboxsync, 9 years ago

Solaris/Installer: safer quoting.

  • Property svn:eol-style set to LF
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 955 bytes
Line 
1#!/bin/sh
2# $Id: preremove.sh 58687 2015-11-13 14:15:52Z vboxsync $
3## @file
4# VirtualBox preremove script for Solaris.
5#
6
7#
8# VirtualBox preremove script for Solaris.
9#
10# Copyright (C) 2007-2015 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 "x$currentzone" = "xglobal"; 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