Re: emergency or init=/bin/sh mode and terminal signals

From: Willy Tarreau
Date: Sun Jun 18 2006 - 18:45:51 EST


On Mon, Jun 19, 2006 at 12:40:51AM +0200, Samuel Thibault wrote:
> Wakko Warner, le Sun 18 Jun 2006 18:39:06 -0400, a écrit :
> > why not only set this if the shell is /bin/sh ?
>
> Because you can't know that. /bin/sh is one example of shell, /bin/ash
> is another /usr/bin/myprog is yet another...

another possibility would be to do it only if 'init=' has been specified,
since most of the time the kernel finds it itself.

> Samuel

Regards,
willy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/