From 47d948d2c564614ce2aaac1bfc881924644ed2cf Mon Sep 17 00:00:00 2001 From: yanglc <65783234+ylc429@users.noreply.github.com> Date: Mon, 21 Jun 2021 05:24:24 +0800 Subject: [PATCH] Update create-swap.sh --- create-swap.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/create-swap.sh b/create-swap.sh index dc89a8f..3f63dea 100644 --- a/create-swap.sh +++ b/create-swap.sh @@ -4,6 +4,9 @@ NO_COLOR="\033[0m" GREEN="\033[32m\033[01m" BLUE="\033[0;36m" FUCHSIA="\033[0;35m" +echo "export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin:$PATH" >> ~/.bashrc +source ~/.bashrc +sleep 2 echo " ${GREEN} Creat-SWAP by yanglc ${GREEN} 本脚本仅在Debian系系统下进行过测试"