SierraSoftworks / tailscale-udm

Run Tailscale on your Unifi Dream Machine
MIT License
709 stars 40 forks source link

Make `TAILSCALE_ROOT` in on-boot.sh firmware version agnostic #48

Closed mhriemers closed 1 year ago

mhriemers commented 1 year ago

Currently, TAILSCALE_ROOT is hardcoded and wrong for firmware versions above 2.*. https://github.com/SierraSoftworks/tailscale-udm/blob/f4297561d430ecba95cdd051c318147abb3fad1c/package/on-boot.sh#L4

This can easily be fixed by including the same snippet from manage.sh and install.sh: https://github.com/SierraSoftworks/tailscale-udm/blob/f4297561d430ecba95cdd051c318147abb3fad1c/install.sh#L21-L27