> From: "Tallam, Sreenivas" <[EMAIL PROTECTED]>
> Subject: -sh: can't access tty; job control turned off - busybox
>
> Hi All,
>
> This has been discussed in the forum before but all of them were focused
> with a busybox version lower than what I am using
> So I am asking this question to the yet again, please bear with me
>
> I am running a linux 2.6.10 kernel with a BusyBox v1.6.0.
> And I see the following error on the above
>
> My inittab, has the following enteries
> # cat /etc/inittab
>
> # Default entries for busybox init.
> ::ctrlaltdel:/sbin/reboot
> ::shutdown:/bin/umount -a -r
> ::shutdown:/sbin/swapoff -a
> ::restart:/sbin/init
> ::askfirst:-/bin/sh

I've had success with this command line:

setsid cttyhack ash

Might want to try replacing /bin/sh in your inittab with this.  Add
full pathnames as needed, depending on where you've installed the
setsid, cttyhack, and ash applets.

Make sure you've enabled cttyhack as part of your Busybox build.
Unfortunately, it defaults to being turned off.

Josh
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to