[mythtv-users] Joy and pain (Daryl McDonald)

Hika van den Hoven hikavdh at gmail.com
Fri Feb 14 17:22:18 UTC 2014


Hoi Bill,

Friday, February 14, 2014, 6:01:38 PM, you wrote:

> On 02/14/2014 10:26 AM, Hika van den Hoven wrote:
> ...
>> Obviously there is a separate configuration file that handles the ir blaster. A
>> way to find that file is
>> searching al files in /etc for one containing /dev/lirc. Type at the console:
>> for File in `find *`; do
>> if [ -f $File ]; then
>> Count=`grep -ic "/dev/lirc" $File`
>> if [ $Count -gt 0 ]; then
>> echo "  $Count : $File"
>> fi
>> fi
>> done

> Daryl might find this an easier way to search for /dev/lirc in all files
> under /etc:

>      sudo grep -iR "/dev/lirc" /etc

> The sudo eliminates all of the "Permission denied" errors.

Oh, I now see what you mean, but with just that command you don't get
the filename. Only the line containing the text.

Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens
--



More information about the mythtv-users mailing list