add Git stuff
This commit is contained in:
13
guacamole-docker-compose/reset.sh
Executable file
13
guacamole-docker-compose/reset.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
echo "This will delete your existing database (./data/)"
|
||||
echo " delete your recordings (./record/)"
|
||||
echo " delete your drive files (./drive/)"
|
||||
echo " delete your certs files (./nginx/ssl/)"
|
||||
echo ""
|
||||
read -p "Are you sure? " -n 1 -r
|
||||
echo "" # (optional) move to a new line
|
||||
if [[ $REPLY =~ ^[Yy]$ ]]; then # do dangerous stuff
|
||||
chmod -R +x -- ./init
|
||||
sudo rm -r -f ./data/ ./drive/ ./record/ ./nginx/ssl/
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user