Created
January 15, 2017 10:18
-
-
Save hartmut-co-uk/e92cb3c3aa2f9604687fb15c53d3c4ea to your computer and use it in GitHub Desktop.
Script to wakeup QNAP NAS (macOS Automator)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
### Script to wakeup QNAP NAS (well not much script there.. mostly to use via Automator) | |
# requires 'wakeonlan' (installed via Homebrew -> 'brew install wakeonlan') | |
/usr/local/bin/wakeonlan {{NAS_MAC1}} | |
### optional: 2nd eth adapter.. | |
#/usr/local/bin/wakeonlan {{NAS_MAC2}} | |
# Note: Using Mac OS 'Automator' it's easy to create a QWake.app | |
# Steps: | |
# 1. Start Automator, new document 'Application' | |
# 2. Add Action 'Run Shell Script' | |
# 3. Paste the content of this file | |
# 4. Save as Application QHalt.app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment