From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Love Date: Tue, 16 Dec 2003 18:19:31 +0000 Subject: Re: [patch] remove udev from runlevels on uninstall Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, 2003-12-16 at 12:59, Bill Nottingham wrote: > %postun > if [ $1 = 0 ]; then > /sbin/chkconfig --del udev > fi Ah, much thanks, Bill. Greg, revised patch is attached. This is on top of my first patch, but not my second. Thanks, Rob Love udev.spec | 5 +++++ 1 files changed, 5 insertions(+) diff -urN udev-008/udev.spec udev/udev.spec --- udev-008/udev.spec 2003-12-16 12:04:49.981846152 -0500 +++ udev/udev.spec 2003-12-16 13:18:38.780566408 -0500 @@ -26,6 +26,11 @@ %post /sbin/chkconfig --add udev +%postun +if [ $1 = 0 ]; then + /sbin/chkconfig --del udev +fi + %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 Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel