diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2023-03-07 00:48:26 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2023-03-07 00:48:43 -0600 |
commit | b9241988a7c32f00ffd6d87f1666d7babfd705e5 (patch) | |
tree | 27583cc2c973ab763b240f9ad7df6b34dd84782e /init.d/termencoding.in | |
parent | 5ae4d4edb55aa9d928e70557a70d024302495804 (diff) |
init.d/rc.conf: make unicode default to yes
Diffstat (limited to 'init.d/termencoding.in')
-rw-r--r-- | init.d/termencoding.in | 4 |
1 files changed, 2 insertions, 2 deletions
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 |