fix /srv/log for inst
This commit is contained in:
parent
2d9d3bb87e
commit
4da9edb30c
2 changed files with 3 additions and 3 deletions
|
@ -37,10 +37,9 @@ if(test $loght -lt 130)
|
||||||
textht=`{hoc -e $ht^-$loght}
|
textht=`{hoc -e $ht^-$loght}
|
||||||
|
|
||||||
window 0,$textht,$statwid,$ht stats -lmisce
|
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
|
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)
|
while(! test -f /srv/log)
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
log `{time} Installation process started
|
log `{time} Installation process started
|
||||||
|
|
|
@ -8,6 +8,7 @@ textinst=1
|
||||||
export textinst
|
export textinst
|
||||||
|
|
||||||
# use stderr as logfile
|
# use stderr as logfile
|
||||||
|
rm -f /srv/log
|
||||||
echo 2 >/srv/log
|
echo 2 >/srv/log
|
||||||
log `{date} Installation process started
|
log `{date} Installation process started
|
||||||
inst/mainloop
|
inst/mainloop
|
||||||
|
|
Loading…
Reference in a new issue