Last active
February 15, 2017 20:11
-
-
Save rick4470/b4535f0c9139de458ea98c7437a6ecb4 to your computer and use it in GitHub Desktop.
Startup and Shutdown Script
This file contains 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
state=$1 | |
if [ "$state" == "start" ]; then | |
# Start everything now | |
osascript ~/apple_startup_script.scpt | |
fi | |
if [ "$state" == "stop" ]; then | |
# Stop the applications | |
osascript ~/apple_shutdown_script.scpt | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment