Custom shutdown
#1
Hi!
As the Pi has no real poweroff, is it possible to let
XBMC run a custom shutdown script, instead of
doing a syscall? I want to send a svdrp command
to VDR to let it handle the shutdown. VDR calls
a shutdown script and gives the next timer as
argument.
In this script I want to close XBMC and VDR. I also
want to disable unnecessary services.
The ARM should run at minimum. A cronjob starts
everything again, before a timer begins.
For manual wakeup, I want to let irexec listen to the
power button of my remote control to start everything
again.
As long as XBMC does a system call for shutdown, my
plan becomes difficult. I could do ugly hacks to the
system by replacing the halt and shutdown commands
with a script. But I don't want to do this.
Any ideas?
Reply

Logout Mark Read Team Forum Stats Members Help
Custom shutdown0