[Olsr-dev] Writing pid to lockfile on Android

Bernd Petrovitsch (spam-protected)
Wed Jul 14 11:51:27 CEST 2010


Hi!

On Mit, 2010-07-14 at 02:50 -0500, Charles Boyd wrote:
[...]
> I am trying to write a simple Android application which has to be able
> to start and stop olsrd on command. There is a problem with stopping
> olsrd when it is running on Android because (as far as I can tell) it
> does not write a PID-file since Android does not have a /var
> directory, which makes killing the process difficult.

The startup script could save the pid into file too.

[...]
> Could we have olsrd write its pid to the lockfile on Android? This
> seems like the easiest solution.

Send a patch.

	Bernd
-- 
Bernd Petrovitsch                  Email : (spam-protected)
                     LUGA : http://www.luga.at





More information about the Olsr-dev mailing list