git: 9front

Download patch

ref: c1e18d8d52c07972ace908aabdd7024e32ad2658
parent: ae643e1081a69d24cf767a2fb967c10b0e6a58f6
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
--