4
# This script is used when building kernel modules from DKMS. I don't
5
# know how to solve the problem of inter-module dependencies better.
7
# Copyright (C) 2008 Sun Microsystems, Inc.
9
# This file is part of VirtualBox Open Source Edition (OSE), as
10
# available from http://www.virtualbox.org. This file is free software;
11
# you can redistribute it and/or modify it under the terms of the GNU
12
# General Public License (GPL) as published by the Free Software
13
# Foundation, in version 2 as it comes in the "COPYING" file of the
14
# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15
# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
17
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
18
# Clara, CA 95054 USA or visit http://www.sun.com if you need
19
# additional information or have any questions.
22
SYMFILE="/tmp/$1-Module.symvers"
30
if [ -f "$SYMFILE" ]; then
35
echo "Usage: <modname> save|restore <location of Module.symvers>"