[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
2005-04-26 21:13:08 -07:00
committed by Greg KH
parent 316c515077
commit 600ee7f73e
+5
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