Sundtek Support Forum
English => Sundtek MediaTV Pro (Europe) => Thema gestartet von: sveist 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
-
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