From 3b0ed75c353946ba580a7724f9dbeb761e2067fe Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sat, 29 Nov 2014 06:35:38 +0100 Subject: vconsole: don't hard-code systemd-vconsole-setup binary path --- src/vconsole/.gitignore | 1 + src/vconsole/90-vconsole.rules | 11 ----------- src/vconsole/90-vconsole.rules.in | 11 +++++++++++ 3 files changed, 12 insertions(+), 11 deletions(-) create mode 100644 src/vconsole/.gitignore delete mode 100644 src/vconsole/90-vconsole.rules create mode 100644 src/vconsole/90-vconsole.rules.in (limited to 'src/vconsole') diff --git a/src/vconsole/.gitignore b/src/vconsole/.gitignore new file mode 100644 index 0000000000..82741b2fb3 --- /dev/null +++ b/src/vconsole/.gitignore @@ -0,0 +1 @@ +/90-vconsole.rules diff --git a/src/vconsole/90-vconsole.rules b/src/vconsole/90-vconsole.rules deleted file mode 100644 index bf6a9efaa5..0000000000 --- a/src/vconsole/90-vconsole.rules +++ /dev/null @@ -1,11 +0,0 @@ -# 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+="/usr/lib/systemd/systemd-vconsole-setup" 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" -- cgit v1.2.3-54-g00ecf