aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mythfront/mythfront-session/mythfront.sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mythfront/mythfront-session/mythfront.sh')
-rw-r--r--recipes/mythfront/mythfront-session/mythfront.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes/mythfront/mythfront-session/mythfront.sh b/recipes/mythfront/mythfront-session/mythfront.sh
new file mode 100644
index 0000000000..97b7833001
--- /dev/null
+++ b/recipes/mythfront/mythfront-session/mythfront.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+mkdir -p $HOME/.mythtv
+ln -sf /var/lib/config/lircrc $HOME/.mythtv/lircrc
+ln -sf /etc/mythtv/mysql.txt $HOME/.mythtv/mysql.txt
+
+exec mythfrontend
+