[mythtv] Could/should the shutdown command be kept locally?
knowledgejunkie at gmail.com
Mon Apr 23 01:31:00 UTC 2007
On 23/04/07, Mark Knecht <markknecht at gmail.com> wrote:
> On 4/22/07, Michał Sawicz <michal at sawicz.net> wrote:
> > Mark Knecht wrote:
> > > I'm assuming that the shutdown command is being kept in the backend
> > > server. Should it or could it be kept in the frontend instead?
> > I believe you're saying that it is kept in the database - it is, but
> > frontends can't run without the db so there's no difference. You could
> > try to modify your boot params so that the frontend would try to start a
> > few times, and if failed, halt the machine... 'Though I'm not sure if
> > the frontend crashes when it can't connect to the db or does it just
> > assume that it's not configured yet...
> > --
> > Pozdrawiam,
> > Michał Sawicz
> Right. To me being able to gracefully shut down a computer is sort of
> a 'must have' feature so that users don't damage a machine by pulling
> the power plug. Since this command is kept on another machine then if
> the network connection is bad or the backend database is down for some
> reason the machine ceases to be very 'graceful'.
Pressing the power button on the frontend machine will gracefully shut
the machine down, if you've configured your OS properly. Similarly, so
will configuring a remote button to use irexec to shutdown the machine
via a simple script.
MythTV Official wiki:
MythTV users list archive:
"An investment in knowledge always pays the best interest." - Benjamin Franklin
More information about the mythtv-dev