Browse Source

Update tailscale version, move state file to /etc/config

pull/3/head
Adyanth H 1 year ago
parent
commit
fdb6681994
  1. 4
      etc/init.d/tailscale
  2. 2
      usr/bin/tailscale
  3. 2
      usr/bin/tailscaled

4
etc/init.d/tailscale

@ -8,7 +8,7 @@ START=99
STOP=1
start_service() {
procd_open_instance
procd_open_instance
procd_set_param command /usr/bin/tailscaled
# Set the port to listen on for incoming VPN packets.
@ -18,7 +18,7 @@ start_service() {
procd_append_param command --port 41641
# OpenWRT /var is a symlink to /tmp, so write persistent state elsewhere.
procd_append_param command --state /etc/tailscale/tailscaled.state
procd_append_param command --state /etc/config/tailscaled.state
procd_set_param respawn
procd_set_param stdout 1

2
usr/bin/tailscale

@ -1,6 +1,6 @@
#!/bin/sh
version='1.2.10_mips'
version='1.4.2_mips'
if [ ! -f /tmp/tailscale ]; then
echo "Downloading Tailscale ${version} .."

2
usr/bin/tailscaled

@ -1,6 +1,6 @@
#!/bin/sh
version='1.2.10_mips'
version='1.4.2_mips'
if [ ! -f /tmp/tailscaled ]; then
echo "Downloading Tailscale ${version} .."

Loading…
Cancel
Save