VirtualBox

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

Last change on this file since 13049 was 11982, checked in by vboxsync, 16 years ago

All: license header changes for 2.0 (OSE headers, add Sun GPL/LGPL disclaimer)

  • Property svn:eol-style set to LF
File size: 532 bytes
Line 
1#!/bin/sh
2# Sun xVM VirtualBox
3# VirtualBox preremove script for VBI kernel package on Solaris hosts.
4#
5# Copyright (C) 2008 Sun Microsystems, Inc.
6#
7# Sun Microsystems, Inc. confidential
8# All rights reserved
9#
10
11echo "Sun xVM VirtualBox Kernel Package - preremove script"
12echo "This script will unload the VirtualBox kernel interface module..."
13
14# check for vbi and force unload it
15vbi_mod_id=`/usr/sbin/modinfo | grep vbi | cut -f 1 -d ' ' `
16if test -n "$vbi_mod_id"; then
17 /usr/sbin/modunload -i $vbi_mod_id
18fi
19
20echo "Done."
21
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