[Cialug] How do you find when a program is used during init?

Jeffrey Ollie jeff at ocjtech.us
Wed Feb 1 12:51:31 CST 2012


On Wed, Feb 1, 2012 at 12:18 PM, Nathan C. Smith <nathan.smith at ipmvs.com> wrote:
> On a custom Debian-based distribution, ntpdate is being used in the startup, but I don't know where.  I'd like to find it and comment it out to test something.  What is the best way to track down a program that is running during init?  Is there a way to know at what runlevel it is running?
>
> I've looked in /etc/init.d and in rc0.d and others but nothing is jumping out.
>
> Thanks for any tips or pointers.

Why not rename ntpdate to something else and replace it with a link to
/bin/true?

-- 
Jeff Ollie


More information about the Cialug mailing list