Changeset 7906 in vbox for trunk/src/VBox/Additions/solaris/Installer
- Timestamp:
- Apr 11, 2008 11:24:36 AM (17 years ago)
- Location:
- trunk/src/VBox/Additions/solaris/Installer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/solaris/Installer/postinstall.sh
r7886 r7906 84 84 85 85 # Some distros like Indiana have no xorg.conf, deal with this 86 if ! (test -f '/etc/X11/xorg.conf' -o -f '/etc/X11/.xorg.conf'); then86 if test ! -f '/etc/X11/xorg.conf' && test ! -f '/etc/X11/.xorg.conf'; then 87 87 mv -f $vboxadditions_path/solaris_xorg.conf /etc/X11/.xorg.conf 88 88 fi -
trunk/src/VBox/Additions/solaris/Installer/vboxguest.sh
r7404 r7906 1 #!/bin/ bash1 #!/bin/sh 2 2 # innotek VirtualBox 3 3 # VirtualBox Guest Additions kernel module control script for Solaris. … … 62 62 check_root() 63 63 { 64 if test ` id -u` -ne 0; then64 if test `/usr/xpg4/bin/id -u` -ne 0; then 65 65 abort "This program must be run with administrator privileges. Aborting" 66 66 fi 67 67 } 68 68 69 start ()69 start_module() 70 70 { 71 71 if module_loaded; then … … 73 73 else 74 74 /usr/sbin/add_drv -i'pci80ee,cafe' -m'* 0666 root sys' vboxguest 75 if ! module_loaded; then75 if test ! module_loaded; then 76 76 abort "Failed to load vboxguest." 77 77 elif test -c "/devices/pci@0,0/pci80ee,cafe@4:vboxguest"; then … … 84 84 } 85 85 86 stop ()86 stop_module() 87 87 { 88 88 if module_loaded; then … … 94 94 } 95 95 96 restart ()96 restart_module() 97 97 { 98 stop 98 stop_module 99 99 sync 100 start 100 start_module 101 101 return 0 102 102 } 103 103 104 status ()104 status_module() 105 105 { 106 106 if module_loaded; then … … 121 121 case "$1" in 122 122 start) 123 start 123 start_module 124 124 ;; 125 125 stop) 126 stop 126 stop_module 127 127 ;; 128 128 restart) 129 restart 129 restart_module 130 130 ;; 131 131 status) 132 status 132 status_module 133 133 ;; 134 134 *)
Note:
See TracChangeset
for help on using the changeset viewer.