更新 RMxxx_rgmii_toolkit.sh
remove tailscale exit-node menu.
This commit is contained in:
parent
3c286c4aba
commit
63b7c2f899
@ -493,11 +493,9 @@ configure_tailscale() {
|
|||||||
echo -e "\e[38;5;27m3) Connect to Tailnet\e[0m" # Brown
|
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;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;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;172m6) Disconnect from Tailnet (reconnects at reboot)\e[0m" # Light yellow
|
||||||
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[1;31m7) Logout from tailscale account\e[0m"
|
||||||
echo -e "\e[38;5;172m8) Disconnect from Tailnet (reconnects at reboot)\e[0m" # Disconnect
|
echo -e "\e[38;5;27m8) Return to Tailscale Menu\e[0m"
|
||||||
echo -e "\e[1;31m9) Logout from tailscale account\e[0m"
|
|
||||||
echo -e "\e[38;5;27m10) Return to Tailscale Menu\e[0m"
|
|
||||||
read -p "Enter your choice: " config_choice
|
read -p "Enter your choice: " config_choice
|
||||||
|
|
||||||
case $config_choice in
|
case $config_choice in
|
||||||
@ -529,11 +527,9 @@ configure_tailscale() {
|
|||||||
3) $TAILSCALE_DIR/tailscale up --accept-dns=false --reset;;
|
3) $TAILSCALE_DIR/tailscale up --accept-dns=false --reset;;
|
||||||
4) $TAILSCALE_DIR/tailscale up --ssh --accept-dns=false --reset;;
|
4) $TAILSCALE_DIR/tailscale up --ssh --accept-dns=false --reset;;
|
||||||
5) $TAILSCALE_DIR/tailscale up --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;;
|
6) $TAILSCALE_DIR/tailscale down;;
|
||||||
7) $TAILSCALE_DIR/tailscale up --accept-dns=false --reset;;
|
7) $TAILSCALE_DIR/tailscale logout;;
|
||||||
8) $TAILSCALE_DIR/tailscale down;;
|
8) break;;
|
||||||
9) $TAILSCALE_DIR/tailscale logout;;
|
|
||||||
10) break;;
|
|
||||||
*) echo "Invalid option";;
|
*) echo "Invalid option";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user