I have look at this option but it applies to every time.

So based on this solution i modified the rcS to look for my flag and set
the foreground variable based on the result.

Thanks for the help.

Pawel

On Wed, Jan 18, 2012 at 2:04 AM, Philip Prindeville <
[email protected]> wrote:

> I'm confused.  So in /etc/config/system:
>
> config system
>        option foreground 1
>
> doesn't work for you?
>
> -Philip
>
>
> On 1/17/12 11:42 AM, Pawel Pastuszak wrote:
> > Hello everybody,
> >
> > I have an odd question i am trying to find an way to have my init script
> on power up to take over the console so the process can be interrupted.
> It's pretty much if an flag is set to x in kernel arguments then do y but i
> want y to be the foreground process. What i notice all Init script are
> executed in background.
> >
> > Any thoughts for any one?
> >
> > Pawel
> _______________________________________________
> openwrt-devel mailing list
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to