On Fri, Mar 16, 2001 at 09:37:00AM -0700, Randolph S. Kahle wrote:
> Question --> what is the best approach to stop
> portmap from running on a Debian system?

IIRC, portmap is part of netbase in potato.  Renaming the
/etc/init.d/portmap script or removing all the start/stop links caused
an upgrade to run portmap again; I hated that.

However, if you leave at least one start/stop link present for a
package, update-rc.d will not add or delete links when run from a
package script.

So, it's only necessary to remove the start links leaving the stop
links in place.

# find /etc/rc?.d -name S\*portmap | xargs rm

HTH,

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Inc.                 | than a perfect plan tomorrow.
mailto:[EMAIL PROTECTED]   |   -- Patton

Attachment: pgpdilq4iPbtU.pgp
Description: PGP signature

Reply via email to