#!/bin/sh if tailscale status | grep -q "stopped" then echo " stopped" else ip=$(tailscale ip -4) echo " $ip" fi