summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-01-08 16:24:49 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-01-08 16:24:49 +0000
commitcebf4a3571dcc0968f226ea08acb94ad446ca65e (patch)
tree4bd418cd8e214a4bdaf65ca76ffd0b3e0af57847 /etc
parent2cb01de930111919664bee5f0999622abea47d43 (diff)
downloadpfsense-cebf4a3571dcc0968f226ea08acb94ad446ca65e.zip
pfsense-cebf4a3571dcc0968f226ea08acb94ad446ca65e.tar.gz
Instead of killing openvpn and restarting, simply HUP it to reload its settings.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.newwanip2
1 files changed, 1 insertions, 1 deletions
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 */
OpenPOWER on IntegriCloud