mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Ticket #927. Increase timeout to gice mpd the time needed to exit gracefully.
This commit is contained in:
parent
b641a575bf
commit
f5ea58da02
@ -844,7 +844,7 @@ function interface_bring_down($interface = "wan", $destroy = false) {
|
||||
if ($realif == $ppp['if']) {
|
||||
if (file_exists("{$g['varrun_path']}/{$ifcfg['ipaddr']}_{$interface}.pid")) {
|
||||
killbypid("{$g['varrun_path']}/{$ifcfg['ipaddr']}_{$interface}.pid");
|
||||
sleep(2);
|
||||
sleep(5);
|
||||
}
|
||||
unlink_if_exists("{$g['varetc_path']}/mpd_{$interface}.conf");
|
||||
if (isset($ppp['ondemand']) && !$destroy)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user