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

Article links to your repo and provides incorrect instructions #12

Closed
yusuf3a50 opened this issue Jun 23, 2023 · 1 comment
Closed

Article links to your repo and provides incorrect instructions #12

yusuf3a50 opened this issue Jun 23, 2023 · 1 comment

Comments

@yusuf3a50
Copy link

I know this is not directly related to your code. Your repo works brilliantly and I have it running on my pi, thank you. However, I initially followed this article by Christian Crawley (2019) which gives the following incorrect instructions:

To ensure this works following a reboot, append /etc/rc.local:
sudo nano /etc/rc.local
In the final line before the exit statement, add:
echo '~pi/shutdown-press-simple.py'
Save and exit as before, then try the button out.

As your repo correctly details, a line should be added to /etc/rc.local before the exit 0 line and this line should be:
~pi/shutdown-press-simple.py &

@yusuf3a50 yusuf3a50 changed the title Article links to your github and provides incorrect instructions Article links to your repo and provides incorrect instructions Jun 23, 2023
@TonyLHansen
Copy link
Owner

I did try to contact the author of that incorrect article. I see they haven't made any updates. Oh well.

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

No branches or pull requests

2 participants