Changeset 17579 in vbox for trunk/src/VBox/Additions/solaris/Installer/postinstall.sh
- Timestamp:
- Mar 9, 2009 2:47:32 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/solaris/Installer/postinstall.sh
r17283 r17579 221 221 # Shared Folder kernel module (different for S10 & Nevada) 222 222 osverstr=`uname -r` 223 vbox vfsmod="vboxvfs"224 vbox vfsunused="vboxvfs_s10"223 vboxfsmod="vboxfs" 224 vboxfsunused="vboxfs_s10" 225 225 if test "$osverstr" = "5.10"; then 226 vbox vfsmod="vboxvfs_s10"227 vbox vfsunused="vboxvfs"226 vboxfsmod="vboxfs_s10" 227 vboxfsunused="vboxfs" 228 228 fi 229 229 230 230 # Move the appropriate module to kernel/fs & remove the unused module name from pkg and file from disk 231 231 # 64-bit shared folder module 232 if test -f "$vboxadditions64_path/$vbox vfsmod"; then233 /usr/sbin/installf -c none $PKGINST "/usr/kernel/fs/$solaris64dir/vbox vfs" f234 mv -f $vboxadditions64_path/$vbox vfsmod /usr/kernel/fs/$solaris64dir/vboxvfs235 /usr/sbin/removef $PKGINST $vboxadditions64_path/$vbox vfsmod 1>/dev/null236 /usr/sbin/removef $PKGINST $vboxadditions64_path/$vbox vfsunused 1>/dev/null237 rm -f $vboxadditions64_path/$vbox vfsunused232 if 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 238 238 fi 239 239 240 240 # 32-bit shared folder module 241 if test -f "$vboxadditions_path/$vbox vfsmod"; then242 /usr/sbin/installf -c none $PKGINST "/usr/kernel/fs/vbox vfs" f243 mv -f $vboxadditions_path/$vbox vfsmod /usr/kernel/fs/vboxvfs244 /usr/sbin/removef $PKGINST $vboxadditions_path/$vbox vfsmod 1>/dev/null245 /usr/sbin/removef $PKGINST $vboxadditions_path/$vbox vfsunused 1>/dev/null246 rm -f $vboxadditions_path/$vbox vfsunused241 if 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 247 247 fi 248 248
Note:
See TracChangeset
for help on using the changeset viewer.