From c93969886dc503a7247e4755268a36a567d98b55 Mon Sep 17 00:00:00 2001 From: ahdiua <37497758+ahdiua@users.noreply.github.com> Date: Sun, 13 Aug 2023 13:24:48 +0000 Subject: [PATCH] Remove '#' from commands in README.md --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 07c47e2..7d01dfc 100644 --- a/README.md +++ b/README.md @@ -25,19 +25,19 @@ Notice: Xray will NOT log to `/var/log/xray/*.log` by default. Configure `"log"` **Install & Upgrade Xray-core and geodata with `User=nobody`, but will NOT overwrite `User` in existing service files** ``` -# bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install +bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install ``` **Update geoip.dat and geosite.dat only** ``` -# bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install-geodata +bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install-geodata ``` **Remove Xray, except json and logs** ``` -# bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ remove +bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ remove ``` ## Advance @@ -45,13 +45,13 @@ Notice: Xray will NOT log to `/var/log/xray/*.log` by default. Configure `"log"` **Install & Upgrade Xray-core to a pre-release version** ``` -# bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install --beta +bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install --beta ``` **Install & Upgrade Xray-core and geodata with `logrotate`, `$time` can be in the format of 12:34:56** ``` -# bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install --logrotate $time +bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install --logrotate $time ``` ``` installed: /etc/systemd/system/logrotate@.service @@ -63,25 +63,25 @@ installed: /etc/logrotate.d/xray **Install & Upgrade Xray-core and geodata with `User=root`, which will overwrite `User` in existing service files** ``` -# bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install -u root +bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install -u root ``` **Install & Upgrade Xray-core without geodata** ``` -# bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install --without-geodata +bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install --without-geodata ``` **Remove Xray, include json and logs** ``` -# bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ remove --purge +bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ remove --purge ``` ## More Usage ``` -# bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ help +bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ help ``` ## Stargazers over time