[mythtv-users] Questionaire: What do you have your casepowerbutton do?
adeffs at gmail.com
Thu Jan 12 02:33:54 UTC 2006
On Wednesday 11 January 2006 18:01, James C. Dastrup wrote:
> >>Also, mythfrontend runs from a script which starts it in a loop. So if it
> >> ever crashes (which it rarely ever does), or if someone accidentally
> >> exits out of it (more likely), it starts right back up.
> >Could you possibly post that script your're using to make the frontend
> > restart when exited/crashed? I've been just browsing around trying to
> > guess how to do it, but havn't really searched hard enough :). Thanks.
> Sure. Here it is.
> #This script starts the MythTranscode Daemon and
> #start mythfrontend in a loop, in case it closes
> sudo mtd -d
> while [ /bin/true ]
> sudo killall mythfrontend
> sudo mythfrontend
> sleep 2
will this catch when mythfrontend crashes but X doesn't close out?
More information about the mythtv-users