diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-01-08 16:24:49 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-01-08 16:24:49 +0000 |
commit | cebf4a3571dcc0968f226ea08acb94ad446ca65e (patch) | |
tree | 4bd418cd8e214a4bdaf65ca76ffd0b3e0af57847 /etc/rc.newwanip | |
parent | 2cb01de930111919664bee5f0999622abea47d43 (diff) | |
download | pfsense-cebf4a3571dcc0968f226ea08acb94ad446ca65e.zip pfsense-cebf4a3571dcc0968f226ea08acb94ad446ca65e.tar.gz |
Instead of killing openvpn and restarting, simply HUP it to reload its settings.
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-x | etc/rc.newwanip | 2 |
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 */ |