From ae8c622c7d0d8874cfcd6466ba8df454f0e07794 Mon Sep 17 00:00:00 2001 From: Lars Hanisch Date: Thu, 10 Feb 2011 01:15:50 +0100 Subject: add parsing of watchdog timeout set by udev rule --- monitor.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'monitor.c') diff --git a/monitor.c b/monitor.c index e603c30..601a3bb 100644 --- a/monitor.c +++ b/monitor.c @@ -216,6 +216,9 @@ void cUdevDvbFilter::Process(cUdevDevice &Device) if (!devname || cDynamicDevice::IsAttached(devname)) return; cDynamicDeviceProbe::QueueDynamicDeviceCommand(ddpcAttach, devname); + const char *timeout = Device.GetPropertyValue("dynamite_timeout"); + if (timeout) + cDynamicDeviceProbe::QueueDynamicDeviceCommand(ddpcService, *cString::sprintf("dynamite-SetGetTSTimeout-v0.1 %s %s", devname, timeout)); } } -- cgit v1.2.3