diff options
Diffstat (limited to 'home-manager/scripts')
| -rwxr-xr-x | home-manager/scripts/wake-phosphophyllite.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/home-manager/scripts/wake-phosphophyllite.sh b/home-manager/scripts/wake-phosphophyllite.sh new file mode 100755 index 0000000..bcfcc9d --- /dev/null +++ b/home-manager/scripts/wake-phosphophyllite.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +set -euo pipefail + +HOMELAB="${HOMELAB_TAILSCALE_HOST:-homelab}" +TARGET_MAC="10:7c:61:48:cf:8f" + +tailscale ssh "$HOMELAB" "wakeonlan $TARGET_MAC" |
