Last active
August 29, 2015 14:17
-
-
Save msadouni/4082c33a5323b22ee58e to your computer and use it in GitHub Desktop.
Reset script for the golden-master demo https://github.com/mhcommunication/golden-master
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 | |
sudo echo "LoadModule php5_module /usr/lib/apache2/modules/libphp5.so" > /tmp/php5.load | |
sudo ln -nfs /vagrant/templates/default /etc/apache2/sites-available/default | |
sudo ln -nfs /tmp/php5.load /etc/apache2/mods-enabled/php5.load | |
sudo service apache2 restart | |
find /vagrant -type f -name "*.default" | while read file | |
do | |
cp $file ${file%.*} | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment