chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:12:17 +08:00
commit cf8edb9f21
44281 changed files with 1655134 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/usr/local/bin/perl
# Update the host in bconsole.conf to match this system
require './bacula-backup-lib.pl';
&lock_file($bconsole_conf_file);
$conconf = &get_bconsole_config();
$condir = &find("Director", $conconf);
$addr = &get_system_hostname();
if (!&to_ipaddress($addr) && !&to_ip6address($addr)) {
$addr = "localhost";
}
&save_directive($conconf, $condir, "Address", $addr, 1);
&flush_file_lines();
&unlock_file($bconsole_conf_file);
&webmin_log("fixaddr");
&redirect("");