From d7a6105629a2f059a8799ced8596a476c37f5713 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Mon, 23 Mar 2026 22:30:10 +0800 Subject: [PATCH] =?UTF-8?q?docs(zram):=20=E4=B8=BA=20install.sh=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=BF=9C=E7=A8=8B=E6=89=A7=E8=A1=8C=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zram/install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zram/install.sh b/zram/install.sh index 8d1ae35..a4679f9 100644 --- a/zram/install.sh +++ b/zram/install.sh @@ -1,4 +1,10 @@ #!/usr/bin/env bash +# +# ... +# +# 使用方法: +# URL="https://git.1-h.cc/Scripts/Linux/raw/branch/2026/zram/install.sh"; curl -fsSL "$URL" | bash +# URL="https://git.1-h.cc/Scripts/Linux/raw/branch/2026/zram/install.sh"; wget -q -O - "$URL" | bash if ! declare -F print_red >/dev/null 2>&1; then print_red() { echo -e "\033[31m\033[01m$1$2\033[0m"; }