Skip to content

Commit

Permalink
fix: use full path to tailscale
Browse files Browse the repository at this point in the history
  • Loading branch information
dkaser committed Jul 4, 2023
1 parent ca6e0ea commit 1bb04fb
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/usr/local/emhttp/plugins/tailscale/update-settings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,25 +50,25 @@ sleep 60

case "$ACCEPT_ROUTES" in
'0')
tailscale set --accept-routes=false
log "tailscale set --accept-routes=false"
/usr/local/sbin/tailscale set --accept-routes=false
log "/usr/local/sbin/tailscale set --accept-routes=false"
;;
'1')
tailscale set --accept-routes=true
log "tailscale set --accept-routes=true"
/usr/local/sbin/tailscale set --accept-routes=true
log "/usr/local/sbin/tailscale set --accept-routes=true"
;;
*)
log "Ignoring accept-routes"
esac

case "$ACCEPT_DNS" in
'0')
tailscale set --accept-dns=false
log "tailscale set --accept-dns=false"
/usr/local/sbin/tailscale set --accept-dns=false
log "/usr/local/sbin/tailscale set --accept-dns=false"
;;
'1')
tailscale set --accept-dns=true
log "tailscale set --accept-dns=true"
/usr/local/sbin/tailscale set --accept-dns=true
log "/usr/local/sbin/tailscale set --accept-dns=true"
;;
*)
log "Ignoring accept-dns"
Expand Down

0 comments on commit 1bb04fb

Please sign in to comment.