Make our messages similar
This commit is contained in:
parent
d09f9f47eb
commit
f85c6ca84c
@ -44,7 +44,7 @@ start()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Set the console font
|
# Set the console font
|
||||||
ebegin "Setting user font"
|
ebegin "Setting console font [${consolefont}]"
|
||||||
[ -d /dev/vc ] && ttydev=/dev/vc/
|
[ -d /dev/vc ] && ttydev=/dev/vc/
|
||||||
x=1
|
x=1
|
||||||
while [ ${x} -le ${ttyn} ]; do
|
while [ ${x} -le ${ttyn} ]; do
|
||||||
|
@ -33,7 +33,7 @@ start()
|
|||||||
echo 1 > /proc/sys/dev/mac_hid/keyboard_sends_linux_keycodes
|
echo 1 > /proc/sys/dev/mac_hid/keyboard_sends_linux_keycodes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ebegin "Loading key mappings (${keymap})"
|
ebegin "Loading key mappings [${keymap}]"
|
||||||
local loadkeys_uni= wkeys= kmode="-a" msg="ASCII"
|
local loadkeys_uni= wkeys= kmode="-a" msg="ASCII"
|
||||||
if yesno ${unicode}; then
|
if yesno ${unicode}; then
|
||||||
loadkeys_uni="--unicode"
|
loadkeys_uni="--unicode"
|
||||||
@ -53,7 +53,7 @@ start()
|
|||||||
|
|
||||||
# Set terminal encoding to either ASCII or UNICODE.
|
# Set terminal encoding to either ASCII or UNICODE.
|
||||||
# See utf-8(7) for more information.
|
# See utf-8(7) for more information.
|
||||||
ebegin "Setting keyboard mode to ${msg}"
|
ebegin "Setting keyboard mode [${msg}]"
|
||||||
if yesno ${unicode}; then
|
if yesno ${unicode}; then
|
||||||
dumpkeys ${dumpkeys_charset:+-c} \
|
dumpkeys ${dumpkeys_charset:+-c} \
|
||||||
${dumpkeys_charset} | loadkeys --unicode
|
${dumpkeys_charset} | loadkeys --unicode
|
||||||
|
@ -25,7 +25,7 @@ start()
|
|||||||
termmsg="UTF-8"
|
termmsg="UTF-8"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ebegin "Setting terminal encoding to ${termmsg}"
|
ebegin "Setting terminal encoding [${termmsg}]"
|
||||||
n=1
|
n=1
|
||||||
while [ ${n} -le "${ttyn}" ]; do
|
while [ ${n} -le "${ttyn}" ]; do
|
||||||
printf "\033%s" "${termencoding}" >"${ttydev}${n}"
|
printf "\033%s" "${termencoding}" >"${ttydev}${n}"
|
||||||
|
Loading…
Reference in New Issue
Block a user