X-Git-Url: http://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=autoconfig.functions;h=dc446e4d62728612da2300a828ebbc763fbe6c2f;hp=96c170342c8925a19be2654ee854e1d1f78269f4;hb=c30eeec5fbd41ff16333f73c96f2cc39d5d6c0c7;hpb=287051ff15ee16989ed9ab38b8a73e0c98504a7a diff --git a/autoconfig.functions b/autoconfig.functions index 96c1703..dc446e4 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -295,12 +295,16 @@ config_language(){ eend $RC fi - if [ -n "$CONSOLEFONT" ] ; then - einfo "Running consolechars using ${CONSOLEFONT}" - for vc in `seq 0 ${NUM_CONSOLES}` ; do - consolechars --tty=/dev/tty${vc} -f $CONSOLEFONT ; RC=$? - done - eend $? + if checkbootparam noconsolefont ; then + ewarn "Skipping setting console font as requested on boot commandline." ; eend 0 + else + if [ -n "$CONSOLEFONT" ] ; then + einfo "Running consolechars using ${CONSOLEFONT}" + for vc in `seq 0 ${NUM_CONSOLES}` ; do + consolechars --tty=/dev/tty${vc} -f $CONSOLEFONT ; RC=$? + done + eend $? + fi fi eoutdent