diff --git a/xCAT/xCAT.spec b/xCAT/xCAT.spec index 9ec1fe776..4cfe825b4 100644 --- a/xCAT/xCAT.spec +++ b/xCAT/xCAT.spec @@ -131,3 +131,14 @@ fi /install/prescripts %defattr(-,root,root) +%postun +if [ "$1" = "0" ]; then +%ifnos linux +if grep "^xcatd" /etc/inittab >/dev/null +then +/usr/sbin/rmitab xcatd >/dev/null +fi +%endif +true # so on aix we do not end up with an empty if stmt +fi +