diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-05-05 11:45:42 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-05-05 11:51:44 +0200 |
commit | e8a5b13e458c0320aae3a9ca80cc27fa542d37c5 (patch) | |
tree | 82a3ccfdde46b9c0ac25e3642f9c1a188a9fe68d /rules.d | |
parent | 155078c835a00fed264a7b36b06f709d9b57cb1b (diff) | |
download | systemd-e8a5b13e458c0320aae3a9ca80cc27fa542d37c5.tar.gz |
meson: move vconsole rules to rules.d/
Diffstat (limited to 'rules.d')
-rw-r--r-- | rules.d/90-vconsole.rules.in | 12 | ||||
-rw-r--r-- | rules.d/meson.build | 2 |
2 files changed, 14 insertions, 0 deletions
diff --git a/rules.d/90-vconsole.rules.in b/rules.d/90-vconsole.rules.in new file mode 100644 index 0000000000..845785492b --- /dev/null +++ b/rules.d/90-vconsole.rules.in @@ -0,0 +1,12 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +# +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +# Each vtcon keeps its own state of fonts. +# +ACTION=="add", SUBSYSTEM=="vtconsole", KERNEL=="vtcon*", RUN+="{{ROOTLIBEXECDIR}}/systemd-vconsole-setup" diff --git a/rules.d/meson.build b/rules.d/meson.build index a391390292..a582e4e922 100644 --- a/rules.d/meson.build +++ b/rules.d/meson.build @@ -55,6 +55,8 @@ rules_in = [ ['70-uaccess.rules', enable_logind and conf.get('HAVE_ACL') == 1], ['71-seat.rules', enable_logind], ['73-seat-late.rules', enable_logind], + + ['90-vconsole.rules', conf.get('ENABLE_VCONSOLE') == 1], ] foreach tuple : rules_in |