From 875a55a818819f729c25f474078a672db8c96a50 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 1 Jul 2013 12:21:47 -0400 Subject: Remove sysv->systemd upgrade routines There are no longer any Fedora platforms running SSSD with SYSV init scripts. We don't need the upgrade logic any more. --- contrib/sssd.spec.in | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'contrib') diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index fd19f7cc..a22bc9a6 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -738,18 +738,6 @@ if [ $1 -ge 1 ] ; then /bin/systemctl try-restart sssd.service >/dev/null 2>&1 || : fi -%triggerun -- sssd < 1.9.90-1 -# Save the current service runlevel info -# User must manually run systemd-sysv-convert --apply sssd -# to migrate them to systemd targets -/usr/bin/systemd-sysv-convert --save sssd >/dev/null 2>&1 ||: - -# If the package is allowed to autostart: -/bin/systemctl --no-reload enable sssd.service >/dev/null 2>&1 ||: - -# Run these because the SysV package being removed won't do them -/sbin/chkconfig --del sssd >/dev/null 2>&1 || : -/bin/systemctl try-restart sssd.service >/dev/null 2>&1 || : %else # sysv %post common -- cgit