summaryrefslogtreecommitdiff
path: root/src/vconsole/90-vconsole.rules.in
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2014-11-29 06:35:38 +0100
committerMichael Biebl <biebl@debian.org>2014-12-04 00:05:04 +0100
commit3b0ed75c353946ba580a7724f9dbeb761e2067fe (patch)
tree8f78550c76672ef77a57429337951ca0fbca773b /src/vconsole/90-vconsole.rules.in
parent6c03d27d9f7e831194dbd8bd6bcdeef9273edb6e (diff)
vconsole: don't hard-code systemd-vconsole-setup binary path
Diffstat (limited to 'src/vconsole/90-vconsole.rules.in')
-rw-r--r--src/vconsole/90-vconsole.rules.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/vconsole/90-vconsole.rules.in b/src/vconsole/90-vconsole.rules.in
new file mode 100644
index 0000000000..062009640c
--- /dev/null
+++ b/src/vconsole/90-vconsole.rules.in
@@ -0,0 +1,11 @@
+# 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.
+
+# Kernel resets vconsole state when changing console drivers so run
+# systemd-vconsole-setup when fbcon loads
+
+ACTION=="add", SUBSYSTEM=="graphics", KERNEL=="fbcon", RUN+="@rootlibexecdir@/systemd-vconsole-setup"