📄 create_swap.cgi
字号:
#!/usr/local/bin/perl# create_swap.cgi# Attempt to create a swap file, and then redirect the browser back to# the mounting program to mount itrequire './mount-lib.pl';&ReadParse();$whatfailed = "Failed to create swap file";$in{cswap_size} =~ /^\d+$/ || &error("'$in{cswap_size}' is not a valid size");if ($error = &create_swap($in{cswap_file}, $in{cswap_size}, $in{cswap_units})) { &error($error); }&redirect("save_mount.cgi?$in");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -