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

Auto Shutdown Pi with Robot #11

Open
2 of 3 tasks
ChandlerSwift opened this issue Jan 28, 2019 · 2 comments
Open
2 of 3 tasks

Auto Shutdown Pi with Robot #11

ChandlerSwift opened this issue Jan 28, 2019 · 2 comments

Comments

@ChandlerSwift
Copy link
Member

ChandlerSwift commented Jan 28, 2019

  • create user robot on Raspberry Pi and set up SSH keys for passwordless login from robot
  • edit /etc/sudoers to allow robot user to /sbin/poweroff
  • run shutdown command on Pi when robot is powered off
@ChandlerSwift
Copy link
Member Author

Robot (Red Hat 6) uses System V-style init to shut down the OS. We should be able to add a script in to shut down the Pi when the robot shuts down.

@ChandlerSwift
Copy link
Member Author

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

1 participant