diff options
| author | Britney Fransen <brfransen@gmail.com> | 2014-01-07 18:11:16 (GMT) |
|---|---|---|
| committer | Britney Fransen <brfransen@gmail.com> | 2014-01-07 18:11:16 (GMT) |
| commit | 4c2a2e3504f472628285a989c7c9a76be6855f54 (patch) | |
| tree | 23bdd770c1257a373f7ef218fb1336fa890c512a /abs/core/LinHES-system/LinHES-session | |
| parent | af515b99f692bcf1f0af57aabe8f7c1a950b32c5 (diff) | |
| parent | 402197f50ec8843de08d28a16eaefc15f3dee226 (diff) | |
| download | linhes_pkgbuild-4c2a2e3504f472628285a989c7c9a76be6855f54.zip linhes_pkgbuild-4c2a2e3504f472628285a989c7c9a76be6855f54.tar.gz linhes_pkgbuild-4c2a2e3504f472628285a989c7c9a76be6855f54.tar.bz2 | |
Merge branch 'testing'
Diffstat (limited to 'abs/core/LinHES-system/LinHES-session')
| -rwxr-xr-x | abs/core/LinHES-system/LinHES-session | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/abs/core/LinHES-system/LinHES-session b/abs/core/LinHES-system/LinHES-session index c6d0b09..14606fb 100755 --- a/abs/core/LinHES-system/LinHES-session +++ b/abs/core/LinHES-system/LinHES-session @@ -229,8 +229,13 @@ function first_configure_default(){ xterm -fn *18* -e sudo taskset -c 0 /usr/bin/mythtv-setup sudo sv start mythbackend sudo chown -R mythtv.mythtv /home/mythtv - nice -n 19 mythfilldatabase --quiet & - msg "Guide data is being loaded.\nUntil this completes\nsome shows will appear as "unknown"\nin the program guide." + # only run mythfilldatabase for masterbackends + if [ $SystemType = "Master_backend" ] + then + nice -n 19 mythfilldatabase --quiet & + msg "Guide data is being loaded.\nUntil this completes\nsome shows will appear as "unknown"\nin the program guide." + fi + rm ~/.configure fi else @@ -268,8 +273,12 @@ function first_configure_mv(){ /usr/bin/taskset -c 0 /usr/bin/mythtv-setup /usr/MythVantage/bin/backend_control.sh start BE 127.0.0.1 fi - nice -n 19 mythfilldatabase --quiet & - msg "Guide data is being loaded.\nUntil this completes\nsome shows will appear as "unknown"\nin the program guide." + # only run mythfilldatabase for masterbackends + if [ $SystemType = "Master_backend" ] + then + nice -n 19 mythfilldatabase --quiet & + msg "Guide data is being loaded.\nUntil this completes\nsome shows will appear as "unknown"\nin the program guide." + fi rm -f ~/.configure fi else |
