From 63b7c2f899ae4fd7d7b33f5d9bb36e8f47aee7ba Mon Sep 17 00:00:00 2001 From: sky Date: Sat, 7 Dec 2024 09:16:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20RMxxx=5Frgmii=5Ftoolkit.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit remove tailscale exit-node menu. --- RMxxx_rgmii_toolkit.sh | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/RMxxx_rgmii_toolkit.sh b/RMxxx_rgmii_toolkit.sh index 6b088fd..2708c5e 100644 --- a/RMxxx_rgmii_toolkit.sh +++ b/RMxxx_rgmii_toolkit.sh @@ -493,11 +493,9 @@ configure_tailscale() { echo -e "\e[38;5;27m3) Connect to Tailnet\e[0m" # Brown echo -e "\e[38;5;87m4) Connect to Tailnet with SSH ON\e[0m" # Light cyan echo -e "\e[38;5;105m5) Reconnect to Tailnet with SSH OFF\e[0m" # Light magenta - echo -e "\e[38;5;87m6) Connect to Tailnet with Exit Node and Subnet\e[0m" # Light yellow (New option) - echo -e "\e[38;5;105m7) Reconnect to Tailnet without Exit Node and Subnet\e[0m" # New option to reconnect without exit node and subnet - echo -e "\e[38;5;172m8) Disconnect from Tailnet (reconnects at reboot)\e[0m" # Disconnect - echo -e "\e[1;31m9) Logout from tailscale account\e[0m" - echo -e "\e[38;5;27m10) Return to Tailscale Menu\e[0m" + echo -e "\e[38;5;172m6) Disconnect from Tailnet (reconnects at reboot)\e[0m" # Light yellow + echo -e "\e[1;31m7) Logout from tailscale account\e[0m" + echo -e "\e[38;5;27m8) Return to Tailscale Menu\e[0m" read -p "Enter your choice: " config_choice case $config_choice in @@ -529,11 +527,9 @@ configure_tailscale() { 3) $TAILSCALE_DIR/tailscale up --accept-dns=false --reset;; 4) $TAILSCALE_DIR/tailscale up --ssh --accept-dns=false --reset;; 5) $TAILSCALE_DIR/tailscale up --accept-dns=false --reset;; - 6) $TAILSCALE_DIR/tailscale up --accept-dns=false --reset --advertise-exit-node --advertise-routes=192.168.225.0/24;; - 7) $TAILSCALE_DIR/tailscale up --accept-dns=false --reset;; - 8) $TAILSCALE_DIR/tailscale down;; - 9) $TAILSCALE_DIR/tailscale logout;; - 10) break;; + 6) $TAILSCALE_DIR/tailscale down;; + 7) $TAILSCALE_DIR/tailscale logout;; + 8) break;; *) echo "Invalid option";; esac done