- Timestamp:
- Feb 24, 2010 6:41:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/solaris/vboxconfig.sh
r26498 r26759 30 30 31 31 DIR_VBOXBASE=/opt/VirtualBox 32 DIR_CONF="/platform/i86pc/kernel/drv" 32 33 DIR_MOD_32="/platform/i86pc/kernel/drv" 33 34 DIR_MOD_64=$DIR_MOD_32/amd64 … … 367 368 if test $? -eq 0 && test -h "/dev/vboxdrv"; then 368 369 369 if test -f /platform/i86pc/kernel/drv/vboxnet.conf; then370 if test -f "$DIR_CONF/vboxnet.conf"; then 370 371 add_driver "$MOD_VBOXNET" "$DESC_VBOXNET" "$FATALOP" 371 372 load_module "drv/$MOD_VBOXNET" "$DESC_VBOXNET" "$FATALOP" 372 373 fi 373 374 374 if test -f /platform/i86pc/kernel/drv/vboxflt.conf; then375 if test -f "$DIR_CONF/vboxflt.conf"; then 375 376 add_driver "$MOD_VBOXFLT" "$DESC_VBOXFLT" "$FATALOP" 376 377 load_module "drv/$MOD_VBOXFLT" "$DESC_VBOXFLT" "$FATALOP" 377 378 fi 378 379 379 if test -f /platform/i86pc/kernel/drv/vboxusbmon.conf&& test "$HOST_OS_MAJORVERSION" != "5.10"; then380 if test -f "$DIR_CONF/vboxusbmon.conf" && test "$HOST_OS_MAJORVERSION" != "5.10"; then 380 381 # For VirtualBox 3.1 the new USB code requires Nevada > 123 381 382 if test "$HOST_OS_MINORVERSION" -gt 123; then … … 399 400 # USB device to attach to now (it's done at runtime) it will fail to attach so 400 401 # redirect attaching failure output to /dev/null 401 if test -f /platform/i86pc/kernel/drv/vboxusb.conf; then402 if test -f "$DIR_CONF/vboxusb.conf"; then 402 403 add_driver "$MOD_VBOXUSB" "$DESC_VBOXUSB" "$FATALOP" "$NULLOP" 403 404 load_module "drv/$MOD_VBOXUSB" "$DESC_VBOXUSB" "$FATALOP" … … 572 573 573 574 if test "$?" -eq 0; then 574 if test -f /platform/i86pc/kernel/drv/vboxnet.conf; then575 if test -f "$DIR_CONF/vboxnet.conf"; then 575 576 # nwam/dhcpagent fix 576 577 nwamfile=/etc/nwam/llp … … 700 701 do 701 702 case "$1" in 702 --postinstall | --preremove | --installdrivers | --removedrivers )703 --postinstall | --preremove | --installdrivers | --removedrivers | --setupdrivers) 703 704 drvop="$1" 704 705 ;; … … 711 712 --ips) 712 713 ISIPS="$IPSOP" 714 ;; 715 --altkerndir) 716 # Use alternate kernel driver config folder (dev only) 717 DIR_CONF="/usr/kernel/drv" 713 718 ;; 714 719 *) … … 734 739 remove_drivers "$fatal" 735 740 ;; 741 --setupdrivers) 742 remove_drivers "$fatal" 743 install_drivers 744 ;; 736 745 *) 737 746 errorprint "Invalid operation $drvop"
Note:
See TracChangeset
for help on using the changeset viewer.