diff options
author | cinap_lenrek <cinap_lenrek@localhost> | 2011-04-13 01:59:58 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@localhost> | 2011-04-13 01:59:58 +0000 |
commit | 4da9edb30c8dd8623bea9c158adbd3a9df63f9fb (patch) | |
tree | 8a4ff39f4efc3294fe651e7c24c59394a19317d0 | |
parent | 2d9d3bb87e065a5ec5ce54cd09b104e3e1445d1d (diff) | |
download | plan9front-4da9edb30c8dd8623bea9c158adbd3a9df63f9fb.tar.xz |
fix /srv/log for inst
-rwxr-xr-x | rc/bin/inst/startwin | 5 | ||||
-rwxr-xr-x | rc/bin/inst/textonly | 1 |
2 files changed, 3 insertions, 3 deletions
diff --git a/rc/bin/inst/startwin b/rc/bin/inst/startwin index bcd542890..9da63bbee 100755 --- a/rc/bin/inst/startwin +++ b/rc/bin/inst/startwin @@ -37,10 +37,9 @@ if(test $loght -lt 130) textht=`{hoc -e $ht^-$loght} window 0,$textht,$statwid,$ht stats -lmisce -window $statwid,$textht,^`{hoc -e $logwid+$statwid}^,$ht tailfsrv 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 diff --git a/rc/bin/inst/textonly b/rc/bin/inst/textonly index 53e230402..3b08dfa8d 100755 --- a/rc/bin/inst/textonly +++ b/rc/bin/inst/textonly @@ -8,6 +8,7 @@ textinst=1 export textinst # use stderr as logfile +rm -f /srv/log echo 2 >/srv/log log `{date} Installation process started inst/mainloop |