[uCsimm] Configuring and running programs

From: Ian Leonard (ileonard@ntlworld.com)
Date: Fri Apr 06 2001 - 10:11:24 EDT


I need to run services and programs on a ucsimm but require the flexibility

a) Start and stop them automatically (e.g. but remote configuration)

b) Stop them manually (e.g. log in over telnet, stop the program and restart it
with debugging output)

The best way to run the programs is from init, and on a normal Unix box I would
just edit inittab and restart init. On a uCsimm, /etc/inittab is read only. Run
levels aren't supported.

I could have a sort of executive program to control the real processes (and
run them from init) but it seems messy. Another way would be to have init
read /etc/inittab from /var. I haven't found where init is run from yet
(I guess I should know this:-)) and another solution would be to have init
read from another file when it receives a sighup.

Can anybody think of a better solution?


Ian Leonard                  
eMail: ileonard@ntlworld.com
Phone: +44 (0)1865 765273       Fax: +44 (0)1865 765280

Please ignore spelling and punctuation - I did. This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/

This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:42 EST