Skip to content

Commit

Permalink
Updated restore file to remove auto-upgrade config file.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Huerta committed Jun 15, 2016
1 parent 53ce0fe commit dab0db1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,16 @@ echo 'Restoring original configuration files!'

echo 'Restoring NGINX config...'
cp blooming-onion/config/nginx/ghost.orig /etc/nginx/sites-available/ghost

echo 'Restoring Ghost config...'
cp blooming-onion/config/ghost/config.js.orig /var/www/ghost/config.js
echo 'Restoring torrc...'

echo 'Restoring torrc...'
cp blooming-onion/config/tor/torrc.orig /etc/tor/torrc

echo 'Removing auto-upgrades config...'
rm /etc/apt/apt.conf.d/20auto-upgrades

# DANGERZONE
echo 'REMOVING hidden service ***CANNOT UNDO*** (requires confirmation)...'
rm -i /var/lib/tor/hidden_service/*
Expand Down

0 comments on commit dab0db1

Please sign in to comment.