On 01/18/2015 02:43 PM, Joerg Bornkessel wrote:
- VDR now reads command line options from *.conf files in
/etc/vdr/conf.d (thanks to Lars Hanisch). See vdr.1 and vdr.5 for details.
Is there an example what exactly can we do with this? The Manpage's give there very small information :( Lars?
Have a look at the vdr4arch repository: https://github.com/VDR4Arch/vdr4arch
We already used this feature using the patch created by Lars.
This new feature is especially useful when using systemd or other event driven init systems. It now no longer is required to "somehow" construct a command line. Just start VDR
https://github.com/VDR4Arch/vdr4arch/blob/master/vdr/vdr.service
The VDR settings can be configured in a file like this one: https://github.com/VDR4Arch/vdr4arch/blob/master/vdr/10-vdr.conf
And to load/configure a plugin the config file has to look like this:
https://github.com/VDR4Arch/vdr4arch/blob/master/plugins/vdr-softhddevice/50...
vdr4arch places the plugin config files to /etc/vdr/conf.available first. It's the user's job to create a symlink to /etc/vdr/conf.d to enable the plugin or delete the symlink to disable a plugin.
Manuel