Changeset 19194 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Apr 27, 2009 8:27:33 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/installer/autorun.sh
r19164 r19194 92 92 " >> /tmp/vbox.autoinstall 93 93 94 # check gnome-terminal, use it if it exists. 94 95 if test -f "/usr/bin/gnome-terminal"; then 95 96 # use su/pfexec … … 99 100 /usr/bin/gnome-terminal --title "Installing VirtualBox Additions: Root password required." --command "/bin/sh -c '$subin - root -c \"$pkgaddbin -G -d $installfile -n -a /tmp/vbox.autoinstall SUNWvboxguest\"; /bin/echo press ENTER to close this window; /bin/read'" 100 101 fi 102 elif test -f "/usr/X11/bin/xterm"; then 103 # use xterm 104 if test -z "$subin"; then 105 /usr/X11/bin/xterm -title "Installing VirtualBox Additions" -e "$pfexecbin $pkgaddbin -G -d $installfile -n -a /tmp/vbox.autoinstall SUNWvboxguest; /bin/echo press ENTER to close this window; /bin/read" 106 else 107 /usr/X11/bin/xterm -title "Installing VirtualBox Additions: Root password required." -e "$subin - root -c \"$pkgaddbin -G -d $installfile -n -a /tmp/vbox.autoinstall SUNWvboxguest\"; /bin/echo press ENTER to close this window; /bin/read" 108 fi 101 109 else 102 echo " gnome-terminal not found."110 echo "No suitable terminal not found. -- install additions using pkgadd -d." 103 111 fi 104 112
Note:
See TracChangeset
for help on using the changeset viewer.