if [ -n "$TERM_FRAMEBUFFER_TRY" ] && \ [ "$(debconf-get debian-installer/framebuffer)" = true ]; then echo "Trying to enable the frame buffer..." if grep -q VESA /proc/fb || \ (modprobe -q vesafb >/dev/null 2>&1 && grep -q . /proc/fb) || \ (modprobe -q vga16fb >/dev/null 2>&1 && grep -q . /proc/fb); then if [ ! -d /sys/class/graphics/fbcon ]; then modprobe -q fbcon >/dev/null 2>&1 fi # sledgehammer workaround for race condition if type update-dev >/dev/null 2>&1; then update-dev --settle fi fi fi