From b9241988a7c32f00ffd6d87f1666d7babfd705e5 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 7 Mar 2023 00:48:26 -0600 Subject: init.d/rc.conf: make unicode default to yes --- init.d/termencoding.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'init.d/termencoding.in') diff --git a/init.d/termencoding.in b/init.d/termencoding.in index bde71e7a..783df525 100644 --- a/init.d/termencoding.in +++ b/init.d/termencoding.in @@ -28,7 +28,7 @@ start() # Set terminal encoding to either ASCII or UNICODE. # See utf-8(7) for more information. local termencoding="%@" termmsg="ASCII" - if yesno ${unicode}; then + if yesno ${unicode:-yes}; then termencoding="%G" termmsg="UTF-8" fi @@ -43,7 +43,7 @@ start() # Save the encoding for use immediately at boot if checkpath -W "$RC_LIBEXECDIR"; then mkdir -p "$RC_LIBEXECDIR"/console - if yesno ${unicode:-${UNICODE}}; then + if yesno ${unicode:-yes}; then echo "" > "$RC_LIBEXECDIR"/console/unicode else rm -f "$RC_LIBEXECDIR"/console/unicode -- cgit v1.2.3