init.d/rc.conf: make unicode default to yes
This commit is contained in:
		| @@ -89,7 +89,7 @@ | ||||
| # There variables are shared between many init scripts | ||||
|  | ||||
| # Set unicode to NO to turn off unicode support for keyboards and screens. | ||||
| unicode="YES" | ||||
| #unicode="YES" | ||||
|  | ||||
| # This is how long fuser should wait for a remote server to respond. The | ||||
| # default is 60 seconds, but  it can be adjusted here. | ||||
|   | ||||
| @@ -42,7 +42,7 @@ start() | ||||
| 	fi | ||||
|  | ||||
| 	local wkeys= kmode="-a" msg="ASCII" | ||||
| 	if yesno $unicode; then | ||||
| 	if yesno ${unicode:-yes}; then | ||||
| 		kmode="-u" | ||||
| 		msg="UTF-8" | ||||
| 	fi | ||||
|   | ||||
| @@ -25,7 +25,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 | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user