ref: c6c927fdbdae6c9ffdba571685c45bbdb5360e21
dir: /rc/bin/inst/start/
#!/bin/rc
if(test -w /dev/wctl)
echo scroll > /dev/wctl
cd /bin/inst
. ./defs
textinst=1
export textinst
# use stderr as logfile
rm -f /srv/log
echo 2 >/srv/log
log `{date} Installation process started
exec ./mainloop