[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Suspending services



On Mon, 29 Jan 2001 15:59:39 +0000, David Wright said:

> Quoting Jürgen Dollinger (juergen@magrathea.stuve.uni-ulm.de):
>  > Piotr Tarnowski wrote:
>  > > What I did looks very tricky - I would prefer something similar to
>  > > putting '#' in front of line in /etc/inittab.
>  > 
>  > Install file-rc. This will replace all those links with one configfile
>  > (/etc/runlevel.conf). Put a '#' in front of lines in /etc/runlevel.conf.
>  
>  Why not just mangle the name of /etc/init.d/whatever,
>  e.g. /etc/init.d/whatever-hidden.

I would just put 

exit 0

in the /etc/init.d/<startup_file> near the top of the file, after the
'#!/bin/sh'

--
Andrew



Reply to: