Created
June 20, 2014 17:38
-
-
Save ryanwinchester/3d9806c5f8961af9e8be to your computer and use it in GitHub Desktop.
Start up Homestead VM
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
#!/bin/bash | |
cd c:/vagrant/Homestead | |
vagrant up | |
while true; do | |
read -p "Do you want to quit yet?" yn | |
case $yn in | |
[Yy]* ) vagrant halt; break;; | |
* ) echo "Okay then. Waiting for (y)es...";; | |
esac | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment