summaryrefslogtreecommitdiffstats
path: root/linhes/linhes-system/lh_system_start.sh
diff options
context:
space:
mode:
Diffstat (limited to 'linhes/linhes-system/lh_system_start.sh')
-rwxr-xr-xlinhes/linhes-system/lh_system_start.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/linhes/linhes-system/lh_system_start.sh b/linhes/linhes-system/lh_system_start.sh
index a4cee16..36f173c 100755
--- a/linhes/linhes-system/lh_system_start.sh
+++ b/linhes/linhes-system/lh_system_start.sh
@@ -140,9 +140,17 @@ function first_configure(){
fi
}
+function start_user_apps() {
+ if [ -f ~/.config/lh_startuserapps ]; then
+ msg "Starting User Apps..."
+ source ~/.config/lh_startuserapps
+ fi
+}
+
function start_myth() {
STARTCMD="/usr/bin/mythfrontend --syslog local6"
- if [ ! -f ~/.dontrunmythfrontend ]; then
+ if [ ! -f ~/.config/lh_dontrunmythfrontend ]; then
+ msg "Starting MythFrontend..."
$STARTCMD 2>&1 &
fi
}
@@ -152,4 +160,5 @@ check_installer_user
first_configure
/usr/bin/enableIRWake.sh &
storage_scan
+start_user_apps
start_myth