Revision 8c218e1d
Added by Ermal LUÇI over 14 years ago
etc/inc/vpn.inc | ||
---|---|---|
916 | 916 |
file_put_contents("{$g['varetc_path']}/filterdns-ipsec.hosts", $hostnames); |
917 | 917 |
|
918 | 918 |
killbypid("{$g['varrun_path']}/filterdns-ipsec.pid"); |
919 |
sleep(1); |
|
919 | 920 |
mwexec("/usr/local/sbin/filterdns -p {$g['varrun_path']}/filterdns-ipsec.pid -i {$interval} -c {$g['varetc_path']}/filterdns-ipsec.hosts -d 1"); |
920 | 921 |
} |
921 | 922 |
|
Also available in: Unified diff
Give time to filterdns to exit gracefully and after that start a new process.