fix /srv/log for inst

This commit is contained in:
cinap_lenrek 2011-04-13 01:59:58 +00:00
parent 2d9d3bb87e
commit 4da9edb30c
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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