diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index add42dcf13..89915bdcdb 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -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)