LinHES Forums
http://forums.linhes.org/

broken lircrc link
http://forums.linhes.org/viewtopic.php?f=14&t=6706
Page 1 of 1

Author:  compdoc [ Mon Oct 31, 2005 3:44 pm ]
Post subject:  broken lircrc link

I was changing the /home/mythtv/.mythtv/lircrc file, and deleted the original by replacing it with a copy. Now the romote stopped working.

I think broke a link to the original file thats being used somewhere else.

I dont know if thats the right term, but for instance the file /etc/lircd.conf is actually a link to /etc/lirc/lircd.conf, and you have to edit the 2nd one.

linux seems to be weird about those things - it references the same file no matter if its renamed or deleted, etc.

how to repair the link so it uses the new file? I already did a CHOWN and CHGRP...

Author:  tjc [ Mon Oct 31, 2005 7:25 pm ]
Post subject: 

This is post installation and thus off topic under "installation" so Cecil will probably nuke it soon. The files in question are:
Code:
root@black2:~# ls -al /home/mythtv/.lirc* /home/mythtv/.mythtv/lircrc
-rw-------  1 mythtv mythtv  963 Sep 28 03:30 /home/mythtv/.lircnav
lrwxrwxrwx  1 mythtv mythtv   14 Oct 22 15:17 /home/mythtv/.lircrc -> .mythtv/lircrc
-rw-r--r--  1 mythtv mythtv 5779 Sep 10 12:29 /home/mythtv/.mythtv/lircrc

The second one with the arrow is a symbolic link. If that's not what you see, then you did indeed break it. Do a "man ln".

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/