diff options
Diffstat (limited to 'media-plugins/vdr-vcd/files/rc-addon.sh')
-rwxr-xr-x | media-plugins/vdr-vcd/files/rc-addon.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/media-plugins/vdr-vcd/files/rc-addon.sh b/media-plugins/vdr-vcd/files/rc-addon.sh new file mode 100755 index 000000000000..ba0bcca6e041 --- /dev/null +++ b/media-plugins/vdr-vcd/files/rc-addon.sh @@ -0,0 +1,8 @@ +# plugin-startup-skript for vcd-plugin + +plugin_pre_vdr_start() { + [ -e /etc/conf.d/vdr.cd-dvd ] && . /etc/conf.d/vdr.cd-dvd + : ${VDR_CDREADER:=/dev/cdrom} + : ${VCD_DEVICE:=${VDR_CDREADER}} + add_plugin_param "--vcd ${VCD_DEVICE}" +} |