# splice hda into /
cp -rFs /usr/overlay/. /

# cleanup copy of _this_ script, and plug gcc so search stops

if test -z $DISTCC_HOSTS
{
  echo "Not using distcc."
} else {
  echo "Distcc acceleration enabled."
  setvar PATH = ""/usr/distcc:$PATH""
}

if test -e /mnt/init
{
  setvar X = 'xx'
  echo "Press any key for command line..."
  read -t 3 -n 1 X
  if test $X == xx
  {
    echo "Running automated build."
    setvar HANDOFF = "/mnt/init"
  }
}