VirtualBox

Changeset 58264 in vbox for trunk/src/VBox/HostDrivers/linux


Ignore:
Timestamp:
Oct 15, 2015 2:10:22 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
103453
Message:

Installer/linux (host): adjust load[all].sh to use vboxdrv.sh, fixes.

Location:
trunk/src/VBox/HostDrivers/linux
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/linux/load.sh

    r58263 r58264  
    2929    exit 1
    3030fi
     31test ${#} -eq 0 ||
     32    if ! test ${#} -eq 1 || ! test "x${1}" = x-u; then
     33        echo "Usage: load.sh [-u]"
     34        exit 1
     35    fi
     36sudo "${MY_DIR}/vboxdrv.sh" stop
     37test ${#} -eq 0 || exit 0
    3138make -C "${MY_DIR}/src/vboxdrv" "$@"
    32 sudo "${MY_DIR}/vboxdrv.sh" stop
    3339echo "Installing SUPDrv (aka VBoxDrv/vboxdrv)"
    3440sudo /sbin/insmod "${MY_DIR}/src/vboxdrv/vboxdrv.ko"
  • trunk/src/VBox/HostDrivers/linux/loadall.sh

    r58263 r58264  
    2525if test ${#} -eq 0; then
    2626    sudo "${MY_DIR}/vboxdrv.sh" setup
    27 elif test $* = 1 && test "${1}" = -u; then
     27elif test ${#} = 1 && test "x${1}" = x-u; then
    2828    sudo "${MY_DIR}/vboxdrv.sh" cleanup
    2929else
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette