From 600ee7f73e5381764803725e68a0f953bd2f46fd Mon Sep 17 00:00:00 2001 From: "rml@ximian.com" Date: Tue, 16 Dec 2003 23:31:16 -0800 Subject: [PATCH] [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. --- udev.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/udev.spec b/udev.spec index 516239bc..3f71e145 100644 --- a/udev.spec +++ b/udev.spec @@ -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 -- 2.39.5