<div>Hello everybody,</div><div><br></div><div>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.</div>
<div><br></div><div>However, it does write the olsrd.conf lockfile to /data/local for Android. [1] </div><div><br></div><div>Could we have olsrd write its pid to the lockfile on Android? This seems like the easiest solution.</div>
<div><br></div><div>Thanks.</div><div><br></div><div>- Charles</div><div><br></div><div><br></div><div>[1] <a href="http://olsr.org/git/?p=olsrd.git;a=blobdiff;f=src/main.c;h=96a7e48a2199ddaf5e6e8c5f6e6aac8393ba172b;hp=eba8e7f5d51fa127eb56aff672f9ac3212804c11;hb=a7030712f41666cc267c62c77b37ceb14d469a05;hpb=c2045fe22fa63fd9d572694fce6e839cc58ff315">http://olsr.org/git/?p=olsrd.git;a=blobdiff;f=src/main.c;h=96a7e48a2199ddaf5e6e8c5f6e6aac8393ba172b;hp=eba8e7f5d51fa127eb56aff672f9ac3212804c11;hb=a7030712f41666cc267c62c77b37ceb14d469a05;hpb=c2045fe22fa63fd9d572694fce6e839cc58ff315</a></div>
<meta http-equiv="content-type" content="text/html; charset=utf-8">