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 |
|
---|
11 | echo "Sun xVM VirtualBox Kernel Package - preremove script"
|
---|
12 | echo "This script will unload the VirtualBox kernel interface module..."
|
---|
13 |
|
---|
14 | # check for vbi and force unload it
|
---|
15 | vbi_mod_id=`/usr/sbin/modinfo | grep vbi | cut -f 1 -d ' ' `
|
---|
16 | if test -n "$vbi_mod_id"; then
|
---|
17 | /usr/sbin/modunload -i $vbi_mod_id
|
---|
18 | fi
|
---|
19 |
|
---|
20 | echo "Done."
|
---|
21 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.