On Wed, Aug 04, 2004 at 10:02:07AM +0500, [EMAIL PROTECTED] wrote: > Hi, > > I am new to debina. I have certain services running like lpd rpc etc. In RedHat > there is a command chkconfig with which i can start/ top services for certain run > levels or completely stop it from running.
Like others have already suggested, `update-rc.d' is equivalent to `chkconfig'. Also, in Woody (Stable) I found `rcconf' which is somewhat like `ntsysv'. I myself migrated from Red Hat, so I will let you know what I do. I do not like unnecessary processes/daemons running, so to have them disabled completely irrespective of runlevel, I do: update-rc.d -f <name> remove where <name> is found in /etc/init.d/. If you want something to run only in runlevel 2 and 3, you do: update-rc.d <name> start 33 2 3 . ..followed by update-rc.d <name> stop 40 0 4 5 6 . NOTE: The "." at the end are important. Also, you should run the command with the "-n" flag for a dry-run to see what it will actually do, like: update-rc.d -n <name> defaults ...will show you the steps that will happen without doing them. BTW, the above example is analogous to: chkconfig <name> on HTH, Didar -- BOFH excuse #394: Jupiter is aligned with Mars. Random signature generated by Signify v1.07 http://www.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]