1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-19 22:50:17 +03:00

[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

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