Mailing List archive

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

[vdr] Re: Switching off



On Fri, 5 Sep 2003, Klaus Schmidinger wrote:

>Jan Ekholm wrote:
>>
>> ...
>> Isn't starting vdr with:
>>
>>         vdr --shutdown=/usr/bin/sudo shutdown -h now
>>
>> a valid option too?
>
>Well, you would at least have to write
>
>  vdr --shutdown="/usr/bin/sudo shutdown -h now"
>
>otherwise only "/usr/bin/sudo" would be assigned to the shutdown script
>name. However, VDR adds several parameters to that call, so whether or
>not this actually works will depend on whether 'shutdown' can tolerate
>these.

What would VDR add to the call and why? Isn't this the absolutely best way
to shut it all down? All those SVDRP thingies are IMHO just fugly hacks at
doing somethinf that should be a simple thing.

Another solution is of course to do a little "shutdown" plugin that asks
for confirmation and then does whatever is necessary using system() to
bring the system down.

--
   Crowley was in Hell's bad books. Not that Hell has any other kind.
                           -- Terry Pratchett & Neil Gaiman, Good Omens



-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index