VirtualBox

Ignore:
Timestamp:
Mar 9, 2009 2:47:32 PM (16 years ago)
Author:
vboxsync
Message:

Additions/Solaris: Renamed vboxvfs to vboxfs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/solaris/Installer/vboxguest.sh

    r17031 r17579  
    2020SILENTUNLOAD=""
    2121MODNAME="vboxguest"
    22 VFSMODNAME="vboxvfs"
     22VFSMODNAME="vboxfs"
    2323MODDIR32="/usr/kernel/drv"
    2424MODDIR64=$MODDIR32/amd64
     
    6969}
    7070
    71 vboxvfs_loaded()
     71vboxfs_loaded()
    7272{
    7373    module_loaded $VFSMODNAME
     
    109109}
    110110
    111 start_vboxvfs()
    112 {
    113     if vboxvfs_loaded; then
     111start_vboxfs()
     112{
     113    if vboxfs_loaded; then
    114114        info "VirtualBox FileSystem kernel module already loaded."
    115115    else
    116116        /usr/sbin/modload -p fs/$VFSMODNAME || abort "Failed to load VirtualBox FileSystem kernel module."
    117         if test ! vboxvfs_loaded; then
     117        if test ! vboxfs_loaded; then
    118118            abort "Failed to load VirtualBox FileSystem kernel module."
    119119        else
     
    123123}
    124124
    125 stop_vboxvfs()
    126 {
    127     if vboxvfs_loaded; then
    128         vboxvfs_mod_id=`/usr/sbin/modinfo | grep $VFSMODNAME | cut -f 1 -d ' ' `
    129         if test -n "$vboxvfs_mod_id"; then
    130             /usr/sbin/modunload -i $vboxvfs_mod_id || abort "Failed to unload VirtualBox FileSystem module."
     125stop_vboxfs()
     126{
     127    if vboxfs_loaded; then
     128        vboxfs_mod_id=`/usr/sbin/modinfo | grep $VFSMODNAME | cut -f 1 -d ' ' `
     129        if test -n "$vboxfs_mod_id"; then
     130            /usr/sbin/modunload -i $vboxfs_mod_id || abort "Failed to unload VirtualBox FileSystem module."
    131131            info "VirtualBox FileSystem kernel module unloaded."
    132132        fi
     
    163163stop_all()
    164164{
    165     stop_vboxvfs
     165    stop_vboxfs
    166166    stop_module
    167167    return 0
     
    195195    ;;
    196196vfsstart)
    197     start_vboxvfs
     197    start_vboxfs
    198198    ;;
    199199vfsstop)
    200     stop_vboxvfs
     200    stop_vboxfs
    201201    ;;
    202202*)
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