2012/2/22 Simon Deziel <simon.dez...@gmail.com>:
> This new patch implements the above pseudo code and rely only on sysctl
> for kfreebsd compatibility. I tested it with dynamically and statically
> named tun devices.
>
> Please let me know if something should be reworked/improved.

I like this idea. However, I think you should change a few things:
1) default.send_redirects=0 and all.send_redirects=0 should be done
only if necessary (is not 0) and the original value reverted back
after the device was created
2) I'm not sure the tunX is up when you revert the above changes (if
necessary). Above is the call for start-stop-daemon but is there any
guarantee that it will finish starting the oVPN service in time for
the next command in the script?

Cheers



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to