Allow $installmode plan9.ini variable to avoid trying graphics mode.
Redundant with simply typing "no" to the graphics prompts.
[rsc] --rw-rw-r-- M 411683 glenda sys 2209 Sep 10 08:27 sys/lib/dist/pc/sub/termrc
/n/sourcesdump/2005/0910/plan9/sys/lib/dist/pc/sub/termrc:53,58 -
/n/sourcesdump/2005/0911/plan9/sys/lib/dist/pc/sub/termrc:53,78
aux/vmware
+ # configure loopback device without touching /net/ndb
+ {
+ echo bind loopback /dev/null
+ echo add 127.0.0.1 255.255.255.0
+ } >/net/ipifc/clone
+
+ if(~ $installmode ask){
+ echo -n 'install mode is (text, graphics)[graphics]: '
+ installmode=`{read}
+ if(~ $#installmode 0)
+ installmode=graphics
+ }
+ if(~ $installmode text){
+ mouseport=()
+ vgasize=()
+ monitor=()
+ }
+ if not
+ installmode=graphics
+
if(~ $mouseport ask){
echo -n 'mouseport is (ps2, ps2intellimouse, 0, 1, 2)[ps2]: '
mouseport=`{read}
/n/sourcesdump/2005/0910/plan9/sys/lib/dist/pc/sub/termrc:71,77 -
/n/sourcesdump/2005/0911/plan9/sys/lib/dist/pc/sub/termrc:91,96
if(~ $#monitor 0)
monitor=xga
}
-
if(~ $#mouseport 1) {
aux/mouse $mouseport
if(~ $#vgasize 1 && ! ~ $vgasize '') {
/n/sourcesdump/2005/0910/plan9/sys/lib/dist/pc/sub/termrc:86,95 -
/n/sourcesdump/2005/0911/plan9/sys/lib/dist/pc/sub/termrc:105,108
echo -n 'hwblank off' >'#v/vgactl' >[2]/dev/null
}
}
-
- # configure loopback device without touching /net/ndb
- {
- echo bind loopback /dev/null
- echo add 127.0.0.1 255.255.255.0
- } >/net/ipifc/clone
|