diff options
author | rml@ximian.com <rml@ximian.com> | 2003-12-16 23:31:16 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:13:08 -0700 |
commit | 600ee7f73e5381764803725e68a0f953bd2f46fd (patch) | |
tree | f5d4c6e823e0810e5eb9ce9100b96501a298ab23 | |
parent | 316c51507724406f2ded06d067f55e867df90b15 (diff) |
[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.
-rw-r--r-- | udev.spec | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |