[BusyBox] ifup, ifdown applets

Steven Scholz steven.scholz at imc-berlin.de
Mon Nov 18 06:20:10 UTC 2002


Uwe Beutin wrote:
> 
> On Mon, 18 Nov 2002, Glenn McGrath wrote:
> 
> > > So first: Do you think it's nessesary to use a pid file? I don't like
> > > that since I am using JFFS2 as root fs and don't want too much writing
> > > happen... And if the system crashes there are still old, invalid pid
> > > files around...
> > >
> > Im not sure how important the pid file is, i assume its used for
> > something :)
> 
> Uh, a question: How else can one app send a signal to another app, if
> not via the PID file?! Is there another way?!
> 
Using pidof!?

I know it's a problem if you have more than one process with the same app name,
e.g. multi threads.

I used " kill -s SIGUSR1 `pidof myapp` " ...

Steven



More information about the busybox mailing list