[Babel-users] [PATCH] Add option to consider sysctl write failures as non-fatal.

Henning Rogge hrogge at gmail.com
Mon Aug 10 21:55:55 UTC 2015


On Mon, Aug 10, 2015 at 7:27 PM, Dave Taht <dave.taht at gmail.com> wrote:
> Well, it would be better if babel checked to see if the (sometimes
> read-only) sysctl value was already correct, instead of blithely
> trying to write it.

Olsrd2 has been doing something like this for some time... only
problem with my current code is that I directly open it in "read
write" mode, so it would fail if the file is read only.

reading it with "read only" and then modifying it if necessary sounds
even better.

Henning Rogge



More information about the Babel-users mailing list