运行命令:
wget https://www.moerats.com/usr/shell/swap.sh && bash swap.sh
然后根据选项进行操作,记得添加swap的时候填写纯数字,默认单位为M。