[BusyBox] Help - how to start a script after busybox is loaded?

Lee Xing lxing at Crossroads.com
Fri May 3 13:42:03 UTC 2002


Sorry for asking an off-topic question here.

Yes, I do use /etc/init.d/rcS to load a couple of modules and start a daemon.  But all activities (loading modules and starting the daemon) defined in rcS are started before the following step (where busybox is fully loaded):

...
BusyBox v0.60.0 (2001.08.24-22:09+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

and it causes a problem.  The problem is the daemon started by rcS always gets closed when seeing the above trace.  That's why I'm looking for a way to start a script (which loads modules and starts a daemon) after the above step (i.e. after busybox is fully loaded).

Thanks.


Lee

-----Original Message-----
From: Geoffrey Espin [mailto:espin at idiom.com]
Sent: Friday, May 03, 2002 2:29 PM
To: Lee Xing
Cc: busybox at busybox.net
Subject: Re: [BusyBox] Help - how to start a script after busybox
finishinitialization?


Lee,

> Attached is the capture after reboot on the target embedded system.  The last steps seem to me are loading the busybox.  My question is how I can start/run a script (to load a couple of modules) after the last step in the following trace.
> 

Do you understand /etc/init.d/* and rcS?

Search the archives and docs for that.

This is not a busybox thing but a Unix/Linux-wide practice you should study.

Geoff
-- 
Geoffrey Espin
espin at idiom.com
--



More information about the busybox mailing list