From 6377a2111c25d4e764e549623ee63b9453040110 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Sun, 23 Jul 2023 04:27:50 +0800 Subject: [PATCH] feat(tools): swap add to 4G --- scripts/install_panel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install_panel.sh b/scripts/install_panel.sh index 14c73d5b..cc03c5ec 100644 --- a/scripts/install_panel.sh +++ b/scripts/install_panel.sh @@ -154,7 +154,7 @@ Auto_Swap() { # 设置swap swapFile="${setup_Path}/swap" - dd if=/dev/zero of=$swapFile bs=1M count=2048 + dd if=/dev/zero of=$swapFile bs=1M count=4096 chmod 600 $swapFile mkswap -f $swapFile swapon $swapFile