- Add get_tailscale_hostname() function with error handling - Use sed instead of grep -o for better compatibility - Add fallback to hostname.ts.net if detection fails - Fix MOTD to use dynamic hostname detection - Prevent script exit on empty grep result with pipefail
9.7 KiB
9.7 KiB