Commit d6402919 authored by Franco Fichtner's avatar Franco Fichtner

rc: so that's what this thing is for!

parent 2e9413c0
...@@ -28,26 +28,24 @@ PRODUCT=`grep product_name /usr/local/etc/inc/globals.inc | cut -d'"' -f4` ...@@ -28,26 +28,24 @@ PRODUCT=`grep product_name /usr/local/etc/inc/globals.inc | cut -d'"' -f4`
USERNAME=`grep factory_shipped_username /usr/local/etc/inc/globals.inc | cut -d'"' -f4` USERNAME=`grep factory_shipped_username /usr/local/etc/inc/globals.inc | cut -d'"' -f4`
PASSWORD=`grep factory_shipped_password /usr/local/etc/inc/globals.inc | cut -d'"' -f4` PASSWORD=`grep factory_shipped_password /usr/local/etc/inc/globals.inc | cut -d'"' -f4`
/sbin/sysctl kern.geom.debugflags=16 >/dev/null sysctl kern.geom.debugflags=16 >/dev/null
/sbin/sysctl net.link.ether.inet.log_arp_wrong_iface=0 >/dev/null sysctl net.link.ether.inet.log_arp_wrong_iface=0 >/dev/null
/sbin/ifconfig lo0 127.0.0.1/24 ifconfig lo0 127.0.0.1/24
/sbin/ifconfig lo0 up ifconfig lo0 up
# Start the backend in the background (must mute all the ouput) # Start the backend in the background (must mute all the ouput)
LUA_CPATH='/usr/local/lib/lua/5.0/?.so' /usr/local/bin/lua50 \ lua50c51 /usr/local/share/dfuibe_lua/main.lua \
-l/usr/local/share/lua/5.0/compat-5.1.lua \ /usr/local/share/dfuibe_lua/conf/BSDInstaller.lua \
/usr/local/share/dfuibe_lua/main.lua \ /usr/local/share/dfuibe_lua/conf/FreeBSD.lua \
/usr/local/share/dfuibe_lua/conf/BSDInstaller.lua \ /usr/local/share/dfuibe_lua/conf/Product.lua > /dev/null 2>&1 &
/usr/local/share/dfuibe_lua/conf/FreeBSD.lua \
/usr/local/share/dfuibe_lua/conf/Product.lua > /dev/null 2>&1 &
/sbin/conscontrol mute on > /dev/null conscontrol mute on > /dev/null
# Launch the frontend goo (must include cons25 for first boot) # Launch the frontend goo (must include cons25 for first boot)
TERM=cons25 /usr/local/sbin/dfuife_curses TERM=cons25 dfuife_curses
/sbin/conscontrol mute off > /dev/null conscontrol mute off > /dev/null
if [ ! -f /tmp/install_complete ]; then if [ ! -f /tmp/install_complete ]; then
echo "The installation was aborted." echo "The installation was aborted."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment