2020-04-24, 10:26
Hey,
I already asked this in the xbian forum, but no answer there (not much populated anyway...).
I realize that there seem different shutdown routines whether I choose "shutdown" from the Kodi menu or do a "sudo shutdown -h now" from ssh.
One thing are different things showing below the xbian progress bar while shutdown.
But the main thing I'm struggling with is:
I have a shutdown script inside /etc/rc0.d/K... (spawned from /etc/init.d/ by executing update-rc.d ...). It gets perfectly executed when I do a "sudo shutdown -h now", but not, when I select "Shutdown" from the Kodi menu.
Is there an explanation for this? What's the difference between these processes? Can I make Kodi to execute excatly the same as "sudo shutdown -h now" from the shutdown menu, at least after it's ready with it's own shutdown preparations?
I already asked this in the xbian forum, but no answer there (not much populated anyway...).
I realize that there seem different shutdown routines whether I choose "shutdown" from the Kodi menu or do a "sudo shutdown -h now" from ssh.
One thing are different things showing below the xbian progress bar while shutdown.
But the main thing I'm struggling with is:
I have a shutdown script inside /etc/rc0.d/K... (spawned from /etc/init.d/ by executing update-rc.d ...). It gets perfectly executed when I do a "sudo shutdown -h now", but not, when I select "Shutdown" from the Kodi menu.
Is there an explanation for this? What's the difference between these processes? Can I make Kodi to execute excatly the same as "sudo shutdown -h now" from the shutdown menu, at least after it's ready with it's own shutdown preparations?