Instead of killing openvpn and restarting, simply HUP it to reload its settings.

This commit is contained in:
Scott Ullrich 2007-01-08 16:24:49 +00:00
parent 2cb01de930
commit cebf4a3571

View File

@ -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 */