also re-generate bind configs (if enabled) when using --force with the cronjob

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2015-03-11 11:21:17 +01:00
parent b32a6951da
commit 8ef6032570

View File

@@ -47,6 +47,8 @@ for ($x = 1; $x < count($argv); $x++) {
// really force re-generating of config-files by
// inserting task 1
inserttask('1');
// bind (if enabled, inserttask() checks this)
inserttask('4');
// also regenerate cron.d-file
inserttask('99');
addToQueue($jobs_to_run, $crontasks);