aboutsummaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions18
1 files changed, 0 insertions, 18 deletions
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