This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, openvpn-n2n has been updated via 81a789d9315219cca58160ea2dbd005287ae4bd3 (commit) from cdc2be25f1b63a906f2209ae9d7ac4bdd4b14feb (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 81a789d9315219cca58160ea2dbd005287ae4bd3 Author: Michael Tremer michael.tremer@ipfire.org Date: Tue Jul 19 11:42:53 2011 +0200
openvpnctrl: Force 'modprobe tun' before starting the openvpn daemon.
-----------------------------------------------------------------------
Summary of changes: src/misc-progs/openvpnctrl.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
Difference in files: diff --git a/src/misc-progs/openvpnctrl.c b/src/misc-progs/openvpnctrl.c index 9112f1f..758800d 100644 --- a/src/misc-progs/openvpnctrl.c +++ b/src/misc-progs/openvpnctrl.c @@ -439,7 +439,9 @@ void startNet2Net(char *name) { setFirewallRules();
char command[STRING_SIZE]; - sprintf(command, "/usr/sbin/openvpn --config %s", configfile); + snprintf(command, STRING_SIZE-1, "/sbin/modprobe tun"); + executeCommand(command); + snprintf(command, STRING_SIZE-1, "/usr/sbin/openvpn --config %s", configfile); executeCommand(command); }
hooks/post-receive -- IPFire 2.x development tree