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

Christopher Barry christopher.barry at rackwareinc.com
Sun Nov 15 21:07:11 UTC 2009


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
}

what am I missing or doing wrong?


Thanks,
-C



More information about the busybox mailing list