Linux Delay shutdown when SSH or Samba connections are opened - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: Linux Delay shutdown when SSH or Samba connections are opened (/showthread.php?tid=143774) |
RE: Delay shutdown when SSH or Samba connections are opened - artrafael - 2013-04-05 (2013-03-28, 18:40)cube Wrote: The script only temporarily disables xbmc's own sleep. This means that you have to set sleep timer in the XBMC settings separately ... I'm not sure where in settings it is exactly. System/Settings > System > Power saving > "Shutdown function timer" and "Shutdown function" RE: Delay shutdown when SSH or Samba connections are opened - wh!t3f!5h - 2013-04-18 Works perfect! Thank's for your work! RE: Delay shutdown when SSH or Samba connections are opened - wh!t3f!5h - 2013-10-13 Hi, i have the problem, that it doesn't work anymore. i just installed my archlinux new, but the plugin fails during the startup: Error Scrippt failed! : inhibit_shutdown.py do you have any idea? or is there an alternative plugin/script? I use xbmc 12.2-5 (compiled: Jul 26 2013) thanks! RE: Delay shutdown when SSH or Samba connections are opened - cube - 2013-10-13 There should be a python backtrace from the add-on somewere in the logs. Without it I have just one idea -- is netstat installed and accessible as /bin/netstat ? RE: Delay shutdown when SSH or Samba connections are opened - wh!t3f!5h - 2013-10-14 I think this is the relevant part from the log file. I can even send you the whole log-file if needed. Code: 18:19:38 T:139731511740352 NOTICE: Running the application... EDIT: I installed netstat-nat. But that is the wrong package. After installing the package net-tools, i don't get a error anymore. thanks for your help! RE: Delay shutdown when SSH or Samba connections are opened - bam80 - 2014-05-10 Hi guys! I needed this feature too. Here is the my approach to solve this for SSH: prevent suspend while ssh session is active Works really robust and simple (no add-ons needed). Welcome! |