#!/bin/sh #BLURB="Select a font for the console" # For the Marvell SheevaPlug unit (and probably many other # embedded ARM devices) we don't have a VGA console - only # serial, so we don't need to set a console font from the # installer (the installation is conducted via dropbear's sshd # so they'd never see the chosen font anyway!). # Another solution could be to continue only if we find the tty # is a local/console; but this way is guaranteed to work and # won't need amending if the /dev/ names change. # # Silently exit if we find ourselves on one of these platforms: egrep -q "SheevaPlug" /proc/cpuinfo > /dev/null 2>&1 && exit sh usr/bin/setconsolefont $*