can not stop my auto running project
Denys Vlasenko
vda.linux at googlemail.com
Sun Oct 14 05:06:04 UTC 2007
On Sunday 14 October 2007 05:16, yin yinhai wrote:
> HI:
> I am building my root filesystem, my develop environment is: montavista
> 2.6.10 kernel, busybox-1.5.1, NFS.
> If I run my project by manual, when it is running, I can use "ctrl+c" to
> stop it. But if I add commands in "/etc/rc.d/rc.local" to auto running
> project, now when I open the power of my board, my project can auto
> running, but can not stop it by "ctrl+c".
Most likely programs started from rc.local have no controlling terminal.
If their stdio is redirectred to /dev/console, this will be the case.
Redirect input/output to any tty other than /dev/console, and process
will acquire it as a controlling tty.
--
vda
More information about the busybox
mailing list