📄 save_sync.cgi
字号:
#!/usr/local/bin/perl# save_sync.cgi# Save default quotasrequire './quota-lib.pl';$access{'default'} && &can_edit_filesys($in{'filesys'}) || &error("You cannot set the default quota for this filesystem");&ReadParse();$v = join(' ', ($in{'sblocks_def'} ? 0 : $in{'sblocks'}, $in{'hblocks_def'} ? 0 : $in{'hblocks'}, $in{'sfiles_def'} ? 0 : $in{'sfiles'}, $in{'hfiles_def'} ? 0 : $in{'hfiles'}) );$k = "sync_$in{'filesys'}";if ($v eq "0 0 0 0") { delete($config{$k}); }else { $config{$k} = $v; }&write_file("$module_config_directory/config", \%config);&redirect("list_users.cgi?$in{'filesys'}");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -