From 854aa04187d4f65607f9b4525ca6645a0db7c9f8 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Tue, 15 May 2012 01:54:25 +0200 Subject: vconsole: use the systemd tool Signed-off-by: Tom Gundersen --- functions | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'functions') diff --git a/functions b/functions index fcbe402..99bc43b 100644 --- a/functions +++ b/functions @@ -655,24 +655,6 @@ if (( RC_FUNCTIONS_HOOK_FUNCS_DEFINED != 1 )); then declare -r RC_FUNCTIONS_HOOK_FUNCS_DEFINED=1 fi -# Function for setting console font if required -set_consolefont() { - [[ $CONSOLEFONT ]] || return 0 - stat_busy "Loading Console Font: $CONSOLEFONT" - #CONSOLEMAP in UTF-8 shouldn't be used - [[ $CONSOLEMAP && ${LOCALE,,} =~ utf ]] && CONSOLEMAP="" - local i - for i in /dev/tty[0-9]*; do - setfont ${CONSOLEMAP:+-m "${CONSOLEMAP}"} \ - "$CONSOLEFONT" -C ${i} &>/dev/null - done - if (( $? )); then - stat_fail - else - stat_done - fi -} - if [[ $DAEMON_LOCALE = [yY][eE][sS] ]]; then export LANG=${LOCALE:-C} if [[ -r /etc/locale.conf ]]; then -- cgit v1.2.3