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

Re: X in startup



On Thu, Jan 04, 2001 at 01:36:36AM -0800, kmself@ix.netcom.com wrote:

> on Thu, Jan 04, 2001 at 11:20:47AM +0530, N. Raghavendra
> (raghu@mri.ernet.in) wrote:
> > 
> > What I have been doing to stop /etc/init.d/ scripts (like
> > xdm) from being executed at bootup is to put the line exit 0
> > at the top of the file (as the first uncommented line). This
> > makes the script neatly exit without doing anything.
> 
> I've been known to do this, but I prefer to add an echo to
> indicate that this is the case.  Scripts which silently fail
> can be annoying.  E.g.:
> 
>     echo "Not starting foo"; exit 0

Hi,

Thanks for the tip. It is certainly neater.

Best,
Raghavendra.

-- 
N. Raghavendra <raghu@mri.ernet.in> |
Harish-Chandra Research Institute   | What foods these morsels be!
        GnuPG public key at:        |
http://riemann.mri.ernet.in/~raghu/ |



Reply to: