diff options
author | Britney Fransen <brfransen@gmail.com> | 2023-02-14 02:04:29 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2023-02-14 02:04:29 (GMT) |
commit | b11eed8f567acae90dc6615063e2728d9e66efb4 (patch) | |
tree | c61252cd257a4cf908821ce3736288e430429584 /linhes/linhes-system/lh_system_start.sh | |
parent | bc85e1b516a6a4624b055f4d1b4fdf0c3f3a3405 (diff) | |
download | linhes_pkgbuild-b11eed8f567acae90dc6615063e2728d9e66efb4.zip linhes_pkgbuild-b11eed8f567acae90dc6615063e2728d9e66efb4.tar.gz linhes_pkgbuild-b11eed8f567acae90dc6615063e2728d9e66efb4.tar.bz2 |
linhes-system: lh_system_start.sh: add lh_startuserapps hook
Diffstat (limited to 'linhes/linhes-system/lh_system_start.sh')
-rwxr-xr-x | linhes/linhes-system/lh_system_start.sh | 11 |
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 |