[BusyBox] how to automatically start an app at boot time?
Robert P. J. Day
rpjday at mindspring.com
Tue Jan 20 14:09:23 UTC 2004
On Tue, 20 Jan 2004, Jeff Angielski wrote:
>
> We ran into a similiar problem. The app runs fine from the shell but
> stops prematurely when started during the init sequence.
>
> I believe the problem was related to the management of the parent/child
> processes as the inittab is parsed and executed. Check out
> run_actions() in init.c to see how this is handled.
>
> A quick check to determine if this is the case is run your application
> using "once" in the inittab instead of "sysinit".
>
> If this works for you, you might want to daemonize your application and
> be done with it.
i actually tried this yesterday (using "once" in inittab) and it worked
fine. so it sounds like this is precisely the problem.
so what does it mean to "daemonize" an app? i mean, beyond some
fairly obvious steps, is there a technical meaning to the phrase
"daemonize" here?
rday
More information about the busybox
mailing list