Hi SteveKo,
the command inside the autorun.sh was just a
#!/bin/sh
/share/CACHEDEV1_DATA/scripts/autorun.sh
The command in the scripts/autorun.sh was:
#!/bin/sh
/share/CACHEDEV1_DATA/.qpkg/Tailscale/tailscale up --advertise-routes=192.168.XX.0/24 --accept-routes
to just advertise a route with Tailscale. I know that the warning is “correct”, I can see why it is a security risk. I’m not looking for a way to avoid the warning, I know how to do it. And I do not need a reason to accept that is a risk.
I just wanted to know if there is a “secure” way to run a custom script when the nas reboots. Thanks!