Re: Shutdown deactivated

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 30.06.2010 12:06, schrieb Dominic Evans:
> For an always-on VDR, if shutdown is deactivated in the config, why do
> we still call vdr-shutdown-message and output OSD messages about
> 'shutting down in x seconds etc.' when VDR will actually never shutdown.

In core VDR, the shutdown countdown is starting if:
- VDR has been idle for 60 seconds
- User is idle for MinUserInactivity or never if not set
- There was no attempt to shut down in the last minute
- Counter is not already running, of course
- Remote control was not disabled by SVDRP REMO command
- A shutdown script was given by the -s switch
- No recording is being edited
- No timer is running or scheduled soon
- No plugin rejects shutdown or scheduled uptime soon

So for an always-on VDR, you can either not specify a shutdown command
via the -s switch, or set MinUserInactivity to 0. In both cases, the
countdown should not start.

Setting MinUserInactivity to 0 will still allow you to manually shut
down VDR, while not providing -s will disable shutdown completely.
Providing no -s switch but setting MinUserInactivity allows VDR to fall
silently into an internal inactivity state. Some plugins may react on
this internal state.

In your case, it looks as if MinUserInactivity is set and a shutdown
command is given, but after all the external shutdown command does
cancel the shutdown for some reason. VDR does not know about that and
retries after one minute.


Cheers,

Udo

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux