# sourced by rootfs-init when the system disk carries the agent (--agent)
export FX_AUTO_UPGRADE=0
# the console reports no size, and fx will not run in a terminal without one;
# the page's terminal is 80 by 24
case "$(stty size 2>/dev/null)" in
""|"0 0") stty rows 24 cols 80 ;;
esac
if [ -e /sys/class/net/eth0 ]; then
	/usr/bin/modelport >/tmp/modelport.log 2>&1 &
	echo "Agent: run fx, or: fx ask \"your question\". The model is reached through this page."
fi
