Добавил задержку при первом запуске
This commit is contained in:
parent
d21174acf6
commit
8d08e481dd
|
|
@ -66,6 +66,8 @@ class QuaggaPlugin extends Plugin
|
||||||
rename($configfile, $backupFile);
|
rename($configfile, $backupFile);
|
||||||
file_put_contents($configfile, implode("\n", $lines));
|
file_put_contents($configfile, implode("\n", $lines));
|
||||||
|
|
||||||
|
sleep(10);
|
||||||
|
|
||||||
//restart zebra
|
//restart zebra
|
||||||
return shell_exec($this->config["restart_cmd"]);
|
return shell_exec($this->config["restart_cmd"]);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue