<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">#!/usr/bin/perl
# Update all node groups

$no_acl_check++;
require './bacula-backup-lib.pl';
exit if (!&amp;has_node_groups());
$conf = &amp;get_director_config();
$parent = &amp;get_director_config_parent();
@nodegroups = &amp;list_node_groups();

&amp;lock_file($parent-&gt;{'file'});
foreach $nodegroup (@nodegroups) {
	&amp;sync_group_clients($nodegroup);
	}
&amp;flush_file_lines($parent-&gt;{'file'});
&amp;unlock_file($parent-&gt;{'file'});

</pre></body></html>