/bin/sh : can't access tty - job control turned off.

Denys Vlasenko vda.linux at googlemail.com
Mon Nov 16 01:21:14 UTC 2009


On Sunday 15 November 2009 22:07, Christopher Barry wrote:
> Hi everyone,
> 
> This is likely a simple error on my part, but I can find a good answer
> on google.
> 
> I'm developing an initramfs, and when it bombs, I'm having it fall back
> to a shell. When it does, it gives the error in the subject line.
> 
> I have a shell function that looks like this:
> 
> shell()
> {
>     rtn=0 PS1="# " /bin/sh </dev/console >/dev/console
> }

http://busybox.net/FAQ.html#job_control

--
vda


More information about the busybox mailing list