diff --git a/xCAT/xCAT.spec b/xCAT/xCAT.spec index 991c3d0cf..491f0a616 100644 --- a/xCAT/xCAT.spec +++ b/xCAT/xCAT.spec @@ -128,6 +128,9 @@ fi %postun %ifnos linux -/usr/sbin/rmitab xcatd +if grep "^xcatd" /etc/inittab >/dev/null +then + /usr/sbin/rmitab xcatd >/dev/null +fi %endif