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 _______________________________________________ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox