chiark / gitweb /
vconsole: don't hard-code systemd-vconsole-setup binary path
[elogind.git] / src / vconsole / 90-vconsole.rules.in
similarity index 79%
rename from src/vconsole/90-vconsole.rules
rename to src/vconsole/90-vconsole.rules.in
index bf6a9ef..0620096 100644 (file)
@@ -8,4 +8,4 @@
 # 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"
+ACTION=="add", SUBSYSTEM=="graphics", KERNEL=="fbcon", RUN+="@rootlibexecdir@/systemd-vconsole-setup"