This script allows you to toggle tailscale settings using the physical side switch on the GL-iNet Beryl AX.
To install:
- Copy the below file to
/etc/gl-switch.d/tailscale.shand replace theexit_node_ipvalue with your exit node ip address. - Make sure to set the execute bit on the new file:
chmod +x /etc/gl-switch.d/tailscale.sh - Depending on version: