#!/bin/sh
set -e

ARCHDETECT="$(archdetect)"

case "$ARCHDETECT" in
	mipsel/cobalt)
		# Clear the LCD
		kill `pidof paneld` || true
		paneld -d
	;;
esac

export TERM=linux
export TERM_TYPE=network
exec /sbin/debian-installer /bin/network-console-menu
