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

From: Samuel Thibault
Date: Mon Jun 19 2006 - 18:02:48 EST


Hi,

Willy Tarreau, le Sun 18 Jun 2006 23:33:42 +0200, a écrit :
> I too am used to starting with init=/bin/sh, but I'm also used to launch
> ping in the background. However, if getting Ctrl-C working implies a risk
> of killing init, then I'd rather keep it the old way.

Maybe you should rather use init=/bin/login . If your login program is
smart enough, it will set a session and thus ^C will work.

Samuel
-
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/