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:
Bill Nottingham 2011-05-05 16:36:05 -04:00
parent 29aca24d1a
commit b9d101456e
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ if [ $1 -ge 1 ] ; then
fi
%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 || :
fi