Jump to content
Flirc Forums
Sign in to follow this  

Raspberry Pi System Shutdown

Recommended Posts


I am setting up two Raspberry Pi 3's to be used as media players connect to a projector in the ceiling which will be mostly inaccessible.

Can i use a Flirc IR Usb with a remote to shut down the raspberry Pi, I know it won't power up the device but I have a separate wireless power adapter to kill the power and switch it back on.

While the video is playing I want to map two Raspberry Pi terminal commands to one remote control button press.

first is

sudo supervisorctl stop video-looper

 which I have shortened to


then the normal shut down for Raspberry Pi which is

sudo shutdown -h now

Apologies if this is posted somewhere else already.

Cheers. Richard.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this