Changeset 25646 in vbox for trunk/src/VBox/Installer/solaris
- Timestamp:
- Jan 5, 2010 9:36:37 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 56354
- Location:
- trunk/src/VBox/Installer/solaris
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/solaris/preremove.sh
r23169 r25646 20 20 currentzone=`zonename` 21 21 if test "$currentzone" = "global"; then 22 echo "Removing VirtualBox drivers and services..."22 echo "Removing VirtualBox services and drivers..." 23 23 /opt/VirtualBox/vboxconfig.sh --preremove 24 24 if test "$?" -eq 0; then -
trunk/src/VBox/Installer/solaris/vboxconfig.sh
r25644 r25646 193 193 fi 194 194 195 loadentry=`cat /etc/name_to_major | grep $1` 195 # Add a space at end of module name to make sure we have a perfect match to avoid 196 # any substring matches: e.g "vboxusb" & "vboxusbmon" 197 loadentry=`cat /etc/name_to_major | grep "$1 "` 196 198 if test -z "$loadentry"; then 197 199 return 1 … … 210 212 211 213 modname=$1 212 # modinfo should now work properly since we prevent module autounloading 213 loadentry=`$BIN_MODINFO | grep $modname`214 # modinfo should now work properly since we prevent module autounloading. 215 loadentry=`$BIN_MODINFO | grep "$modname "` 214 216 if test -z "$loadentry"; then 215 217 return 1 … … 301 303 moddesc=$2 302 304 fatal=$3 303 modid=`$BIN_MODINFO | grep $modname| cut -f 1 -d ' ' `305 modid=`$BIN_MODINFO | grep "$modname " | cut -f 1 -d ' ' ` 304 306 if test -n "$modid"; then 305 307 $BIN_MODUNLOAD -i $modid … … 307 309 subprint "Unloaded: $moddesc module" 308 310 else 309 subprint "Unloading: $moddesc ...FAILED!"311 subprint "Unloading: $moddesc module ...FAILED!" 310 312 if test "$fatal" = "$FATALOP"; then 311 313 exit 1
Note:
See TracChangeset
for help on using the changeset viewer.