shithub: riscv

Download patch

ref: 4da9edb30c8dd8623bea9c158adbd3a9df63f9fb
parent: 2d9d3bb87e065a5ec5ce54cd09b104e3e1445d1d
author: cinap_lenrek <cinap_lenrek@localhost>
date: Tue Apr 12 21:59:58 EDT 2011

fix /srv/log for inst

--- a/rc/bin/inst/startwin
+++ b/rc/bin/inst/startwin
@@ -37,10 +37,9 @@
 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
--- a/rc/bin/inst/textonly
+++ b/rc/bin/inst/textonly
@@ -8,6 +8,7 @@
 export textinst
 
 # use stderr as logfile
+rm -f /srv/log
 echo 2 >/srv/log
 log `{date} Installation process started
 inst/mainloop
--