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
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/perl
# bootup.cgi
# Enable or disable Webmin-managed nftables rules at boot time
require './nftables-lib.pl'; ## no critic
use strict;
use warnings;
our (%in, %text);
ReadParse();
assert_acl('bootup');
foreign_check("init") || error($text{'bootup_einit'});
if ($in{'boot'}) {
create_nftables_init();
}
else {
disable_nftables_init();
}
webmin_log($in{'boot'} ? "bootup" : "bootdown");
redirect("index.cgi");