Skip to contentSkip to conversation

remove udev from runlevels on uninstall

PATCH New Rob Love 1 participant 1 message Dec 16, 2003

lore
Share & tools
lore

Rob Love

author
#0 lore raw

PATCH 1/1 remove udev from runlevels on uninstall

Greg,

I guess we should run 'chkconfig --del udev' on removal to clear out the now-stale udev entries, if any.

Patch below, on top of my previous

Rob Love

 udev.spec |    3 +++
 1 files changed, 3 insertions(+)
udev.spec +3 -0
diff -urN udev-008/udev.spec udev/udev.spec
@@ -26,6 +26,9 @@
 %post
 /sbin/chkconfig --add udev
 
+%postun
+/sbin/chkconfig --del udev
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel