Changeset 12858 in vbox for trunk/src/VBox/Installer/solaris
- Timestamp:
- Oct 1, 2008 11:20:49 AM (16 years ago)
- Location:
- trunk/src/VBox/Installer/solaris
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/solaris/postinstall.sh
r12827 r12858 33 33 /opt/VirtualBox/vboxdrv.sh stopall silentunload 34 34 /opt/VirtualBox/vboxdrv.sh start 35 rc=$? 36 if test "$rc" -ne 0; then 37 echo "## Kernel module configuration failed! Aborting installation..." 38 exit 2 39 fi 35 40 36 41 if test -f /platform/i86pc/kernel/drv/vboxflt.conf; then -
trunk/src/VBox/Installer/solaris/vboxdrv.sh
r12827 r12858 92 92 check_root() 93 93 { 94 if test `/usr/xpg4/bin/id -u` -ne 0; then 94 idbin=/usr/xpg4/bin/id 95 if test ! -f "$idbin"; then 96 found=`which id | grep "no id"` 97 if test ! -z "$found"; then 98 abort "Failed to find a suitable user id binary! Aborting" 99 else 100 idbin=$found 101 fi 102 fi 103 104 if test `$idbin -u` -ne 0; then 95 105 abort "This program must be run with administrator privileges. Aborting" 96 106 fi … … 213 223 esac 214 224 215 exit 216 225 exit 0 226
Note:
See TracChangeset
for help on using the changeset viewer.