diff options
| author | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-05-21 03:51:38 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-05-21 03:51:38 +0200 |
| commit | c910640fdd12b3a4c78cb56717e6018a25139b86 (patch) | |
| tree | 1c266ca8c187830cc2b2e93d10b531928ea32b2a /rc/bin/inst/startwin | |
| parent | b44038fec0e84eece7c0143c59f3e991c55a6147 (diff) | |
| download | plan9front-c910640fdd12b3a4c78cb56717e6018a25139b86.tar.xz | |
inst: remove fdisk/prep stuff from mainloop, remove inst/startwin
Diffstat (limited to 'rc/bin/inst/startwin')
| -rwxr-xr-x | rc/bin/inst/startwin | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/rc/bin/inst/startwin b/rc/bin/inst/startwin deleted file mode 100755 index 9da63bbee..000000000 --- a/rc/bin/inst/startwin +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/rc - -fn time { date | sed 's/.........$//'} - -rm -f /srv/log - -if(~ $#* 2) { - wid=$1 - ht=$2 -} -if not { - scr=(`{cat /dev/draw/new >[2]/dev/null || status=''}) - wid=$scr(7) - ht=$scr(8) -} - -if(test $ht -gt 800) - ht=800 - -if(test $wid -gt 800) - wid=800 - -statwid=`{hoc -e $wid^'*.2'} -if(test $statwid -lt 180) - statwid=180 -if(test $statwid -gt 300) - statwid=300 - -logwid=`{hoc -e $wid^-$statwid} -if(test $logwid -gt 1000) - logwid=1000 - -loght=`{hoc -e $ht^'*.25'} -if(test $loght -lt 130) - loght=130 - -textht=`{hoc -e $ht^-$loght} - -window 0,$textht,$statwid,$ht stats -lmisce -window 0,0,^`{hoc -e $logwid+$statwid}^,$textht inst/mainloop -rm -f /srv/log -window $statwid,$textht,^`{hoc -e $logwid+$statwid}^,$ht 'echo 2 >/srv/log; while(){sleep 1000}' -while(! test -f /srv/log) - sleep 1 -log `{time} Installation process started |
