if(! test -f /tmp/plan9.ini) {
{
- echo bootfile'='9pcf
+ echo 'bootfile=9pcf'
echo 'bootargs=local!'^$fs
echo 'mouseport='^$mouseport
echo 'monitor='^$monitor
echo 'vgasize='^$vgasize
- echo '*nomp=1'
+ if(test -f '#ec/*nomp')
+ echo '*nomp='
} >/tmp/plan9.ini
}
need9fatformat=no
- if(! isfat $fat)
+ if(! ~ `{fstype $fat} dos)
need9fatformat=yes
if(! test -f /srv/dos)
dossrv
case checkdone
xxxfat=(/dev/sd*/9fat)
- if(! isfat $xxxfat(1) || ! ~ $didbootsetup 1){
+ xxxfat=$xxxfat(1)
+ if(! ~ `{fstype $xxxfat} dos || ! ~ $didbootsetup 1){
bootsetup=ready
export bootsetup
}