Changeset 15909 in vbox for trunk/src/VBox/HostDrivers/linux
- Timestamp:
- Jan 13, 2009 11:01:30 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 41531
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/linux/Makefile
r15817 r15909 5 5 # 6 6 # 7 # Copyright (C) 2008 Sun Microsystems, Inc.7 # Copyright (C) 2008-2009 Sun Microsystems, Inc. 8 8 # 9 9 # This file is part of VirtualBox Open Source Edition (OSE), as … … 51 51 52 52 load: 53 @/sbin/rmmod vboxnetflt || true 54 @/sbin/rmmod vboxdrv || true 55 @/sbin/insmod vboxdrv.ko 56 @if [ -f vboxnetflt.ko ]; then /sbin/insmod vboxnetflt.ko; fi 53 @for module in vboxnetflt vboxdrv; do \ 54 if grep "^$$module " /proc/modules >/dev/null; then \ 55 echo "Removing previously installed $$module module"; \ 56 /sbin/rmmod $$module; \ 57 fi; \ 58 done 59 @for module in vboxdrv vboxnetflt; do \ 60 if test -f $$module.ko; then \ 61 echo "Installing $$module module"; \ 62 /sbin/insmod $$module.ko; \ 63 fi; \ 64 done
Note:
See TracChangeset
for help on using the changeset viewer.