Blob Blame History Raw
From 4a28b713d7968b422beefaa0a7e5a7cb269aacff Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Fri, 17 Jan 2014 14:01:33 +0100
Subject: [PATCH] systemd: add seat udev rules and mask loginctl

---
 modules.d/98systemd/module-setup.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules.d/98systemd/module-setup.sh b/modules.d/98systemd/module-setup.sh
index 7178d2b..a99c699 100755
--- a/modules.d/98systemd/module-setup.sh
+++ b/modules.d/98systemd/module-setup.sh
@@ -180,6 +180,9 @@ install() {
 
     inst_script "$moddir/rootfs-generator.sh" /lib/systemd/system-generators/dracut-rootfs-generator
 
+    inst_binary true
+    ln_r $(type -P true) "/usr/bin/loginctl"
+    ln_r $(type -P true) "/bin/loginctl"
     inst_rules 71-seat.rules 73-seat-late.rules 99-systemd.rules
 
     for i in \