Autor Thema: yavdr 0.2  (Gelesen 13616 mal)

sveist

  • Newbie
  • *
  • Beiträge: 2
    • Profil anzeigen
yavdr 0.2
« am: Juni 04, 2010, 04:29:20 Nachmittag »
Hello, just got my sundtek usb stick and trying to install yavdr 0.2. The Problem i'm having is that i need to use putty to log in to ssh and stop and start vdr after power on to get the stick working with vdr. My system is :

ASRock 330 Ion

Any ideas for help?

Kind regards,

Sveist

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re:yavdr 0.2
« Antwort #1 am: Juni 04, 2010, 04:34:25 Nachmittag »
According to the install documentation:

====

In order to automatically start an application when the device gets plugged in or removed:

The configurationfile /etc/sundtek.conf can contain 2 parameters, device_attach and device_detach.
Those parameters can be used to start or reinitialize applications after the driver initialized a device.

Example:
/etc/sundtek.conf
device_attach=/usr/bin/usb_deviceattach.sh DEVID
device_detach=/usr/bin/usb_devicedetach.sh DEVID

DEVID will automatically be replaced with the device ID which is also returned by /opt/bin/mediaclient -e

====

so you can just create /etc/sundtek.conf and add:
device_attach=/etc/init.d/vdr restart
Failure is a good thing! I'll fix it