Fix upgrade trigger.
/sbin/chkconfig, without a level, will redirect to systemd; this is not what you want when you're checking its SysV status for migration.
This commit is contained in:
parent
29aca24d1a
commit
b9d101456e
@ -277,7 +277,7 @@ if [ $1 -ge 1 ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%triggerun -- NetworkManager < 1:0.8.990
|
%triggerun -- NetworkManager < 1:0.8.990
|
||||||
if /sbin/chkconfig NetworkManager ; then
|
if /sbin/chkconfig --level 5 NetworkManager ; then
|
||||||
/bin/systemctl enable NetworkManager.service >/dev/null 2>&1 || :
|
/bin/systemctl enable NetworkManager.service >/dev/null 2>&1 || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user