Revision 375f7bbe
Added by Scott Ullrich over 15 years ago
etc/inc/vpn.inc | ||
---|---|---|
134 | 134 |
mwexec("/sbin/ifconfig enc0 destroy"); |
135 | 135 |
|
136 | 136 |
/* kill racoon */ |
137 |
mwexec("/usr/bin/killall racoon", true); |
|
137 |
if(is_process_running("racoon")) |
|
138 |
mwexec("/usr/bin/killall racoon", true); |
|
138 | 139 |
killbypid("{$g['varrun_path']}/dnswatch-ipsec.pid"); |
139 | 140 |
|
140 | 141 |
|
Also available in: Unified diff
Make sure process is running before killing