Changeset 39219 in vbox for trunk/src/VBox/Additions/solaris/Installer
- Timestamp:
- Nov 7, 2011 4:08:07 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 74741
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/solaris/Installer/vboxguest.sh
r33656 r39219 57 57 module_loaded() 58 58 { 59 if test -f "/etc/name_to_major"; then 60 loadentry=`cat /etc/name_to_major | grep "$1 "` 61 else 62 loadentry=`/usr/sbin/modinfo | grep "$1 "` 63 fi 59 if test -z "$1"; then 60 abort "missing argument to module_loaded()" 61 fi 62 63 modname=$1 64 # modinfo should now work properly since we prevent module autounloading. 65 loadentry=`/usr/sbin/modinfo | grep "$modname "` 64 66 if test -z "$loadentry"; then 65 67 return 1
Note:
See TracChangeset
for help on using the changeset viewer.