]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blobdiff - systemd/systemd.nm
systemd: Do not longer depend on authconfig
[people/pmueller/ipfire-3.x.git] / systemd / systemd.nm
index 98f1aa9ccebc000096a9404c9de6123a1f8a1a2b..5e3d69cb2821c3b2e1954c83ccbd8be9ee8432e9 100644 (file)
@@ -225,8 +225,6 @@ end
 
 packages
        package %{name}
-               prerequires += authconfig
-
                requires
                        dbus
                        hwdata
@@ -285,14 +283,6 @@ packages
                        # Reexec systemd daemon.
                        /usr/bin/systemctl daemon-reexec > /dev/null 2>&1 || :
 
-                       # Make sure pam_systemd is enabled
-                       if ! grep -q pam_systemd /etc/pam.d/system-auth-ac ; then
-                               authconfig --update --nostart >/dev/null 2>&1 || :
-
-                               # Try harder
-                               grep -q pam_systemd /etc/pam.d/system-auth-ac || authconfig --updateall --nostart >/dev/null 2>&1 || :
-                       fi
-
                        # Automatically spawn a getty on TTY1
                        /usr/bin/systemctl enable getty@.service >/dev/null 2>&1 || :