rc: bring in additions to start the installer early again

People ask for this sporadically, so we should weave this back
in a way that doesn't break the ncurses view and properly sets
up loopback when needed this early.
This commit is contained in:
Franco Fichtner 2018-05-18 19:39:13 +02:00
parent 9df08987b7
commit fc0c0478b5

View File

@ -32,6 +32,17 @@ fi
sysctl kern.geom.debugflags=16 >/dev/null
sysctl net.link.ether.inet.log_arp_wrong_iface=0 >/dev/null
ifconfig lo0 127.0.0.1/24
ifconfig lo0 up
if [ -z "${TERM}" ]; then
if [ -e /dev/ttyv0 ]; then
export TERM=xterm
else
export TERM=vt100
fi
fi
rm -f /tmp/install_complete
daemon -f lua50c51 /usr/local/share/dfuibe_lua/main.lua \