preremove.sh revision 4990206eb62ac670f067bd0a66a6ca41153dda0b
#
# VirtualBox preremove script for Solaris.
#
# Copyright (C) 2007-2010 Oracle Corporation
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# General Public License (GPL) as published by the Free Software
# Foundation, in version 2 as it comes in the "COPYING" file of the
# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
#
if test "$currentzone" = "global"; then
echo "Removing VirtualBox services and drivers..."
echo "Done."
exit 0
fi
echo 1>&2 "## Failed."
exit 1
fi
exit 0