]> git.ipfire.org Git - thirdparty/systemd.git/commit
vconsole: add two new toggle functions, remove old enable/disable ones
authorMichal Soltys <soltys@ziu.info>
Tue, 26 Jul 2016 22:57:01 +0000 (00:57 +0200)
committerMichal Soltys <soltys@ziu.info>
Tue, 26 Jul 2016 22:57:01 +0000 (00:57 +0200)
commit042d7f5065c9c19b3f96804f9403b14d910e46d1
tree9d13be8699276834233bf0a70025053bb9d25b68
parent9fa71843bbb31c89f81976819eec009335b09f2d
vconsole: add two new toggle functions, remove old enable/disable ones

Add toggle_utf8() and toggle_utf8_sysfs() and use them in place of old
enable/disable functions. toggle_utf8() also adds iutf8 setting and is
set up to be called per-console (in subsequent patches).

Note, that old disable_utf8() didn't bother checking if it was ok
to change the kbdmode.
src/vconsole/vconsole-setup.c