From 4da9edb30c8dd8623bea9c158adbd3a9df63f9fb Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Wed, 13 Apr 2011 01:59:58 +0000 Subject: [PATCH] fix /srv/log for inst --- rc/bin/inst/startwin | 5 ++--- 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