shutdown script?
|
4th Mar, 2016, 08:06 PM
Post: #1
|
|||
|
|||
shutdown script?
I would like the pi to play a mp3 on shutdown. Where would I put the command for this to happen?
I can do a start up one in rc.local, but what is the equivalent for shutting down in xbian please? S. |
|||
4th Mar, 2016, 09:49 PM
Post: #2
|
|||
|
|||
RE: shutdown script?
I do not know if there is a already a standard procedure for shutdown (IMO not).
But, one way could be writing an upstart script which will be started on shutdown, reboot or both cat /etc/init/down.conf Code: # Does anything at shutdown |
|||
5th Mar, 2016, 12:14 AM
Post: #3
|
|||
|
|||
RE: shutdown script?
Thanks for that, I will give that a try soon and see what happens....
S> Having thought about it, couldn't I just use crontab to do this? I live, I learn (but not always as fast as I need to!). |
|||
« Next Oldest | Next Newest »
|