Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add reset script for raspberry pi #171

Merged
merged 2 commits into from
Oct 30, 2019
Merged

Add reset script for raspberry pi #171

merged 2 commits into from
Oct 30, 2019

Conversation

mhellmeier
Copy link
Contributor

Fix #170

This script will ask the user if he or she wants to

  • reset the system to factory settings (this will remove the data folder and the my.config.inc.php file)
    or
  • only reset the data (this will only remove the data folder)

The code style is oriented on the installation script (https://github.com/andreknieriem/photobooth/blob/master/install-raspbian.sh)

@mhellmeier
Copy link
Contributor Author

If this PR will be accepted it would be great if someone can mention this sh script in the wiki.

It can be executed with sudo bash reset-raspbian.sh on Raspbian.

reset-raspbian.sh Outdated Show resolved Hide resolved
@sualko
Copy link
Collaborator

sualko commented Oct 30, 2019

It's similar to the reset function in the admin settings, but some people (like me) still like a shell option.

@sualko sualko merged commit 09e6eab into andreknieriem:master Oct 30, 2019
@mhellmeier mhellmeier mentioned this pull request Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add script to automatically reset the photobooth
3 participants