[Bug 470672] Re: mythbuntu starts frontend to fast
brjhaverkamp
bert at bertenselena.net
Tue Nov 24 19:10:17 UTC 2009
I finally had some time digging into the mail from Schaze
I don't even think it is that ugly. It is actually almost the right
way. When mysql is migrated to upstart, the "pre-start script" section
only needs to be moved to the "start on" section
I have extended Schaze's approach a bit though. In my
/etc/init/mythtv-backend.conf I have added:
pre-start script
/usr/local/bin/startdvbc.sh
/etc/init.d/mysql start
/etc/init.d/lirc start
end script
This ensures that mysql and lirc are started and some local script to
setup my dvb-c cards.
I have also added a dependency from gdm to mythtv backed in /etc/init/gdm.conf:
start on (filesystem
and started hal
and started mythtv-backend
and tty-device-added KERNEL=tty7
and (graphics-device-added or stopped udevtrigger))
stop on runlevel [016]
This ensures that the backend is started when mythwelcome is started.
Regards,
Btw, Schaze, to make "let delay--" work you needed to make the script
a bash script (on the first line of the file edit it to #!/bin/bash.
But this is now history:-)
--
mythbuntu starts frontend to fast
https://bugs.launchpad.net/bugs/470672
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list