[Pkg-sysvinit-commits] r102 - in sysvinit/trunk/debian: . sysv-rc/man8

Petter Reinholdtsen pere at costa.debian.org
Sat Nov 12 09:51:12 UTC 2005


Author: pere
Date: 2005-11-12 09:51:11 +0000 (Sat, 12 Nov 2005)
New Revision: 102

Modified:
   sysvinit/trunk/debian/changelog
   sysvinit/trunk/debian/sysv-rc/man8/update-rc.d.8
Log:
Improve update-rc.d(8) manual page, documenting how to remove
services and how to make sure services are not started.  Patch
from Peter Valdemar M?\195?\131?\194?\184rch.


Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog	2005-11-08 13:21:00 UTC (rev 101)
+++ sysvinit/trunk/debian/changelog	2005-11-12 09:51:11 UTC (rev 102)
@@ -3,6 +3,9 @@
   [Petter Reinholdtsen]
   * Make sure init.d/bootmisc.sh depend on hostname, as it uses the
     host name when generating motd.
+  * Improve update-rc.d(8) manual page, documenting how to remove
+    services and how to make sure services are not started.  Patch
+    from Peter Valdemar Mørch.
 
  -- Petter Reinholdtsen <pere at debian.org>  Sat,  8 Oct 2005 17:08:47 +0200
 

Modified: sysvinit/trunk/debian/sysv-rc/man8/update-rc.d.8
===================================================================
--- sysvinit/trunk/debian/sysv-rc/man8/update-rc.d.8	2005-11-08 13:21:00 UTC (rev 101)
+++ sysvinit/trunk/debian/sysv-rc/man8/update-rc.d.8	2005-11-12 09:51:11 UTC (rev 102)
@@ -139,6 +139,13 @@
 directories that are not symbolic links to the script
 .BI /etc/init.d/ name
 will be left untouched.
+
+Note to system administrators: When a package is upgraded, links will
+be re-added unless there is at least one
+.BI /etc/rc runlevel .d/[SK]?? name
+file present. So
+to remove links and have that removal survive a package upgrade, leave
+stop links in runlevels 2 through 5.
 .SH OPTIONS
 .TP
 .I -n
@@ -157,6 +164,17 @@
 .nf
 .B "   update-rc.d foobar start 20 2 3 4 5 . stop 20 0 1 6 ."
 .fi
+Remove all links for a script (assuming foobar has been deleted
+already):
+.nf
+.B "   update-rc.d foobar remove"
+.fi
+Remove all links for a script that is still present, but leave stop
+links to ensure this survives package upgrades:
+.nf
+.B "   update-rc.d -f foobar remove"
+.B "   update-rc.d foobar stop 20 2 3 4 5 ."
+.fi
 .SH BUGS
 
 There should be a way for the system administrator to specify at least




More information about the Pkg-sysvinit-commits mailing list