VirtualBox

vbox的更動 58431 路徑 trunk/src/VBox/Installer


忽略:
時間撮記:
2015-10-27 下午02:55:01 (9 年 以前)
作者:
vboxsync
訊息:

linux/load.sh,linux/vboxdrv.sh: Added stop_keep_udev to vboxdrv.sh and made load.sh use it.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Installer/linux/vboxdrv.sh

    r58417 r58431  
    315315stop()
    316316{
    317     begin_msg "Stopping VirtualBox services" console
    318     # Remove udev description file
    319     rm -f /etc/udev/rules.d/60-vboxdrv.rules
    320     rm -f /etc/udev/rules.d/10-vboxdrv.rules
    321 
    322     # Remove our USB device tree
    323     rm -rf /dev/vboxusb
     317    if test ${#} -eq 0 || ! test "${1}" = "--keep-udev"; then
     318        begin_msg "Stopping VirtualBox services" console
     319
     320        # Remove udev description file
     321        rm -f /etc/udev/rules.d/60-vboxdrv.rules
     322        rm -f /etc/udev/rules.d/10-vboxdrv.rules
     323
     324        # Remove our USB device tree
     325        rm -rf /dev/vboxusb
     326    else
     327        begin_msg "Stopping VirtualBox services (keeping udev + usb)" console
     328    fi
    324329
    325330    if running vboxpci; then
     
    495500    stop_vms
    496501    ;;
     502stop_keep_udev)
     503    # This is used by src/VBox/HostDrivers/linux/load.sh.
     504    stop_vms
     505    stop --keep-udev
     506    ;;
    497507restart)
    498508    stop && start
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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