- Timestamp:
- Dec 19, 2012 8:06:38 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/solaris/vboxconfig.sh
r43962 r44185 581 581 if test -f "$DIR_CONF/vboxdrv.conf"; then 582 582 if test -n "_HARDENED_"; then 583 add_driver "$MOD_VBOXDRV" "$DESC_VBOXDRV" "$FATALOP" "not-$NULLOP" "'* 0600 root sys' "584 else 585 add_driver "$MOD_VBOXDRV" "$DESC_VBOXDRV" "$FATALOP" "not-$NULLOP" "'* 0666 root sys' "583 add_driver "$MOD_VBOXDRV" "$DESC_VBOXDRV" "$FATALOP" "not-$NULLOP" "'* 0600 root sys','vboxdrvu 0666 root sys'" 584 else 585 add_driver "$MOD_VBOXDRV" "$DESC_VBOXDRV" "$FATALOP" "not-$NULLOP" "'* 0666 root sys','vboxdrvu 0666 root sys'" 586 586 fi 587 587 load_module "drv/$MOD_VBOXDRV" "$DESC_VBOXDRV" "$FATALOP" … … 593 593 # Add vboxdrv to devlink.tab 594 594 if test -f "$PKG_INSTALL_ROOT/etc/devlink.tab"; then 595 sed -e '/name=vboxdrv/d' "$PKG_INSTALL_ROOT/etc/devlink.tab" > "$PKG_INSTALL_ROOT/etc/devlink.vbox"595 sed -e '/name=vboxdrv/d' -e '/name=vboxdrvu/d' "$PKG_INSTALL_ROOT/etc/devlink.tab" > "$PKG_INSTALL_ROOT/etc/devlink.vbox" 596 596 echo "type=ddi_pseudo;name=vboxdrv \D" >> "$PKG_INSTALL_ROOT/etc/devlink.vbox" 597 echo "type=ddi_pseudo;name=vboxdrvu \D" >> "$PKG_INSTALL_ROOT/etc/devlink.vbox" 597 598 mv -f "$PKG_INSTALL_ROOT/etc/devlink.vbox" "$PKG_INSTALL_ROOT/etc/devlink.tab" 598 599 else … … 604 605 if test "$REMOTEINST" -eq 0; then 605 606 /usr/sbin/devfsadm -i "$MOD_VBOXDRV" 606 if test $? -ne 0 || test ! -h "/dev/vboxdrv" ; then607 if test $? -ne 0 || test ! -h "/dev/vboxdrv" || test ! -h "/dev/vboxdrvu" ; then 607 608 errorprint "Failed to create device link for $MOD_VBOXDRV." 608 609 exit 1 … … 726 727 if test -h "$PKG_INSTALL_ROOT/dev/vboxdrv" || test -f "$PKG_INSTALL_ROOT/dev/vboxdrv"; then 727 728 rm -f "$PKG_INSTALL_ROOT/dev/vboxdrv" 729 fi 730 if test -h "$PKG_INSTALL_ROOT/dev/vboxdrvu" || test -f "$PKG_INSTALL_ROOT/dev/vboxdrvu"; then 731 rm -f "$PKG_INSTALL_ROOT/dev/vboxdrvu" 728 732 fi 729 733 if test -h "$PKG_INSTALL_ROOT/dev/vboxusbmon" || test -f "$PKG_INSTALL_ROOT/dev/vboxusbmon"; then
Note:
See TracChangeset
for help on using the changeset viewer.