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/postinstall.sh

    r17283 r17579  
    221221# Shared Folder kernel module (different for S10 & Nevada)
    222222osverstr=`uname -r`
    223 vboxvfsmod="vboxvfs"
    224 vboxvfsunused="vboxvfs_s10"
     223vboxfsmod="vboxfs"
     224vboxfsunused="vboxfs_s10"
    225225if test "$osverstr" = "5.10"; then
    226     vboxvfsmod="vboxvfs_s10"
    227     vboxvfsunused="vboxvfs"
     226    vboxfsmod="vboxfs_s10"
     227    vboxfsunused="vboxfs"
    228228fi
    229229
    230230# Move the appropriate module to kernel/fs & remove the unused module name from pkg and file from disk
    231231# 64-bit shared folder module
    232 if test -f "$vboxadditions64_path/$vboxvfsmod"; then
    233     /usr/sbin/installf -c none $PKGINST "/usr/kernel/fs/$solaris64dir/vboxvfs" f
    234     mv -f $vboxadditions64_path/$vboxvfsmod /usr/kernel/fs/$solaris64dir/vboxvfs
    235     /usr/sbin/removef $PKGINST $vboxadditions64_path/$vboxvfsmod 1>/dev/null
    236     /usr/sbin/removef $PKGINST $vboxadditions64_path/$vboxvfsunused 1>/dev/null
    237     rm -f $vboxadditions64_path/$vboxvfsunused
     232if test -f "$vboxadditions64_path/$vboxfsmod"; then
     233    /usr/sbin/installf -c none $PKGINST "/usr/kernel/fs/$solaris64dir/vboxfs" f
     234    mv -f $vboxadditions64_path/$vboxfsmod /usr/kernel/fs/$solaris64dir/vboxfs
     235    /usr/sbin/removef $PKGINST $vboxadditions64_path/$vboxfsmod 1>/dev/null
     236    /usr/sbin/removef $PKGINST $vboxadditions64_path/$vboxfsunused 1>/dev/null
     237    rm -f $vboxadditions64_path/$vboxfsunused
    238238fi
    239239
    240240# 32-bit shared folder module
    241 if test -f "$vboxadditions_path/$vboxvfsmod"; then
    242     /usr/sbin/installf -c none $PKGINST "/usr/kernel/fs/vboxvfs" f
    243     mv -f $vboxadditions_path/$vboxvfsmod /usr/kernel/fs/vboxvfs
    244     /usr/sbin/removef $PKGINST $vboxadditions_path/$vboxvfsmod 1>/dev/null
    245     /usr/sbin/removef $PKGINST $vboxadditions_path/$vboxvfsunused 1>/dev/null
    246     rm -f $vboxadditions_path/$vboxvfsunused
     241if test -f "$vboxadditions_path/$vboxfsmod"; then
     242    /usr/sbin/installf -c none $PKGINST "/usr/kernel/fs/vboxfs" f
     243    mv -f $vboxadditions_path/$vboxfsmod /usr/kernel/fs/vboxfs
     244    /usr/sbin/removef $PKGINST $vboxadditions_path/$vboxfsmod 1>/dev/null
     245    /usr/sbin/removef $PKGINST $vboxadditions_path/$vboxfsunused 1>/dev/null
     246    rm -f $vboxadditions_path/$vboxfsunused
    247247fi
    248248
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