Re: [PATCH] Console: fall back to /dev/null when no console isavaillable

From: Alan Cox
Date: Wed Oct 06 2004 - 16:42:08 EST


On Mer, 2004-10-06 at 21:54, Greg KH wrote:
> Ok, then anyone with some serious bash-foo care to send me a patch for
> the existing /sbin/hotplug file that causes it to handle this properly?

Something like

#!/bin/sh
(
Everything you had before
) <>/dev/console 2>&1


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