From cebf4a3571dcc0968f226ea08acb94ad446ca65e Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 8 Jan 2007 16:24:49 +0000 Subject: Instead of killing openvpn and restarting, simply HUP it to reload its settings. --- etc/rc.newwanip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/rc.newwanip') diff --git a/etc/rc.newwanip b/etc/rc.newwanip index aa9b5ee..54a2807 100755 --- a/etc/rc.newwanip +++ b/etc/rc.newwanip @@ -76,7 +76,7 @@ if($old_ip) { vpn_ipsec_configure(true); /* start OpenVPN server & clients */ -openvpn_resync_all(); +exec("killall -HUP openvpn 2>/dev/null"); /* regenerate resolv.conf if DNS overrides are allowed or the BigPond client is enabled */ -- cgit v1.1