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:
4.8.0 and above:
Copy/write theswitch-buttonfile below to/etc/config/switch-button4.7.4 and below:
Go toSystem->Toggle Button Settingsand chooseTailscale (On/Off)in the dropdown andApply
Anyone upgrade their Beryl to the latest V4.8.0? I did and they took away the ability to program the side switch. I had to downgrade to the previous version 4.7.4 to get the script working again. Any ideas how to get it working on 4.8.0?