[PATCH] remove udev from runlevels on uninstall

I guess we should run 'chkconfig --del udev' on removal to clear out the
now-stale udev entries, if any.
This commit is contained in:
rml@ximian.com 2003-12-16 23:31:16 -08:00 committed by Greg KH
parent 316c515077
commit 600ee7f73e
1 changed files with 5 additions and 0 deletions

View File

@ -26,6 +26,11 @@ make DESTDIR=$RPM_BUILD_ROOT install
%post
/sbin/chkconfig --add udev
%postun
if [ $1 = 0 ]; then
/sbin/chkconfig --del udev
fi
%clean
rm -rf $RPM_BUILD_ROOT