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
+21
View File
@@ -0,0 +1,21 @@
do 'mount-lib.pl';
sub cgi_args
{
my ($cgi) = @_;
if ($cgi eq 'edit_mount.cgi') {
# Find root filesystem, or first mount
my @mounts = &list_mounts();
return 'none' if (!@mounts);
my $i = 0;
foreach my $m (@mounts) {
if ($m->[0] eq '/') {
return 'index='.$i;
}
$i++;
}
return 'index=0';
}
return undef;
}