diff options
author | James Meyer <james.meyer@operamail.com> | 2008-11-14 21:44:30 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2008-11-14 21:44:30 (GMT) |
commit | b5c4702b6b953bd4fd42b72984e96bf298c49d4d (patch) | |
tree | 495b6728a45933e786f02fc1d188ac3dd04a9061 /abs/core-testing/LinHES-config/systemconfig.sh | |
parent | 09021a0d9941e47da837f38a0826ee4a52ac3aa0 (diff) | |
download | linhes_pkgbuild-b5c4702b6b953bd4fd42b72984e96bf298c49d4d.zip linhes_pkgbuild-b5c4702b6b953bd4fd42b72984e96bf298c49d4d.tar.gz linhes_pkgbuild-b5c4702b6b953bd4fd42b72984e96bf298c49d4d.tar.bz2 |
add symlinks lircrc to mythtv home dir
closes FS15
Diffstat (limited to 'abs/core-testing/LinHES-config/systemconfig.sh')
-rwxr-xr-x | abs/core-testing/LinHES-config/systemconfig.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/abs/core-testing/LinHES-config/systemconfig.sh b/abs/core-testing/LinHES-config/systemconfig.sh index a12546a..d84c0dc 100755 --- a/abs/core-testing/LinHES-config/systemconfig.sh +++ b/abs/core-testing/LinHES-config/systemconfig.sh @@ -204,6 +204,24 @@ function setupremote { chmod 755 /etc/lircrc daemon_add="lircd $daemon_add" sv hup lircd + + if [ ! -e /home/mythtv/.mythtv/lircrc ] + then + if [ ! -d /home/mythtv/.mythtv ] + then + mkdir /home/mythtv/.mythtv + chown mythtv:mythtv /home/mythtv/.mythtv + fi + + ln -s /etc/lircrc /home/mythtv/.mythtv/lircrc 2> /dev/null + fi + if [ ! -e /home/mythtv/.lircrc ] + then + + ln -s /etc/lircrc /home/mythtv/.lircrc 2> /dev/null + fi + + ;; esac |