Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > 2d17ecc404292c0c782d719b211ea706 > files > 26

mythtv-doc-0.23-25073.1mdv2010.1.x86_64.rpm

#!/bin/sh -e

# Copy this file to /etc/udev/scripts and add the contents mythtv-udev.rules
# to your udev.rules in order to enable monitoring of hotpluggable disk
# drives, such as USB keychains and USB connected cameras.
# NOTE: You need udev version 0.71 or later for this functionality.

MYTH_FIFO=/tmp/mythtv_media

if [ -p $MYTH_FIFO ] && /bin/ps -C mythfrontend > /dev/null ; then
    echo $ACTION /sys$DEVPATH $DEVNAME > $MYTH_FIFO
fi