Changeset 12827 in vbox for trunk/src/VBox/Installer
- Timestamp:
- Sep 30, 2008 11:23:19 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 37187
- Location:
- trunk/src/VBox/Installer/solaris
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/solaris/postinstall.sh
r12761 r12827 30 30 currentzone=`zonename` 31 31 if test "$currentzone" = "global"; then 32 echo "Configuring VirtualBox Host kernel module..."32 echo "Configuring VirtualBox kernel module(s)..." 33 33 /opt/VirtualBox/vboxdrv.sh stopall silentunload 34 34 /opt/VirtualBox/vboxdrv.sh start 35 35 36 36 if test -f /platform/i86pc/kernel/drv/vboxflt.conf; then 37 echo "Configuring VirtualBox NetFilter kernel module..."38 37 /opt/VirtualBox/vboxdrv.sh fltstart 39 38 fi -
trunk/src/VBox/Installer/solaris/vboxdrv.sh
r12650 r12827 26 26 abort() 27 27 { 28 echo 1>&2 " $1"28 echo 1>&2 "## $1" 29 29 exit 1 30 30 } … … 51 51 modulepath="$MODDIR32/$MODNAME" 52 52 if test -f "$modulepath"; then 53 abort " ##Found 32-bit module instead of 64-bit. Please install the amd64 package!"53 abort "Found 32-bit module instead of 64-bit. Please install the amd64 package!" 54 54 fi 55 55 else … … 57 57 modulepath="$MODDIR64/$MODNAME" 58 58 if test -f "$modulepath"; then 59 abort " ##Found 64-bit module instead of 32-bit. Please install the x86 package!"60 fi 61 fi 62 63 abort " ##VirtualBox Host kernel module NOT installed."59 abort "Found 64-bit module instead of 32-bit. Please install the x86 package!" 60 fi 61 fi 62 63 abort "VirtualBox Host kernel module NOT installed." 64 64 } 65 65 … … 108 108 fi 109 109 if test ! module_loaded; then 110 abort " ##Failed to load VirtualBox Host kernel module."110 abort "Failed to load VirtualBox Host kernel module." 111 111 elif test -c "/devices/pseudo/$MODNAME@0:$MODNAME"; then 112 112 info "VirtualBox Host kernel module loaded." … … 120 120 { 121 121 if module_loaded; then 122 /usr/sbin/rem_drv $MODNAME || abort "## Failed to unload VirtualBox Host kernel module."122 /usr/sbin/rem_drv $MODNAME || info "## WARNING!! Failed to unload VirtualBox Host kernel module. Old one still active!" 123 123 info "VirtualBox Host kernel module unloaded." 124 124 elif test -z "$SILENTUNLOAD"; then … … 129 129 vbi_mod_id=`/usr/sbin/modinfo | grep vbi | cut -f 1 -d ' ' ` 130 130 if test -n "$vbi_mod_id"; then 131 /usr/sbin/modunload -i $vbi_mod_id 131 /usr/sbin/modunload -i $vbi_mod_id > /dev/null 2>&1 132 132 fi 133 133 } … … 141 141 /usr/sbin/modload -p drv/$FLTMODNAME 142 142 if test ! vboxflt_module_loaded; then 143 abort " ##Failed to load VirtualBox NetFilter kernel module."143 abort "Failed to load VirtualBox NetFilter kernel module." 144 144 else 145 145 info "VirtualBox NetFilter kernel module loaded." … … 151 151 { 152 152 if vboxflt_module_loaded; then 153 /usr/sbin/rem_drv $FLTMODNAME || abort "## Failed to unload VirtualBox NetFilter module."153 /usr/sbin/rem_drv $FLTMODNAME || info "## WARNING!! Failed to unload VirtualBox NetFilter module. Old one still active!" 154 154 info "VirtualBox NetFilter kernel module unloaded." 155 155 elif test -z "$SILENTUNLOAD"; then
Note:
See TracChangeset
for help on using the changeset viewer.