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
+32
View File
@@ -0,0 +1,32 @@
#!/usr/local/bin/perl
# Update allowed or denied At users
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%access, %text, %in);
require './at-lib.pl';
ReadParse();
&error_setup($text{'allow_err'});
$access{'allow'} || &error($text{'allow_ecannot'});
if ($in{'amode'} == 0) {
&save_allowed();
&save_denied();
}
elsif ($in{'amode'} == 1) {
my @users = split(/\s+/, $in{'ausers'});
@users || &error($text{'allow_eusers'});
&save_allowed(@users);
&save_denied();
}
elsif ($in{'amode'} == 2) {
my @users = split(/\s+/, $in{'ausers'});
@users || &error($text{'allow_eusers'});
&save_allowed();
&save_denied(@users);
}
&webmin_log("allow");
&redirect("");