Re: Re: unversal watchdog



From: Daniel O'Connor <doconnor@xxxxxxxxxxxx>

On Monday 27 February 2006 22:33, Tobias Roth wrote:
man rc.subr plus a look through /etc/rc.d should get you started :)

Can you explain in more detail how one can handle the watchdog part of
the equation? I can't find that information in the rc.subr manpage.

Ahh sorry I think I misunderstood the question :(

I was thinking a program to reset a hardware watchdog timer..

As to answer the question - I am not aware of any facility for automatically
restarting things (unless you can get init to do it via /etc/ttys somehow)

Would a port of a Linux init do ? :-) You know, it's
all separate packages on Linux and there is no reason
why they can't be ported and used separately. Here is
the package name from RedHat:

$ rpm -qf /sbin/init
SysVinit-2.85-4.2

I don't know if there is a ready port but it should
be not THAT difficult to do.

I don't think it would be too hard to create a shell wrapper script though
(kind of annoying I admit)

Well, it's been a long story now. Every time someone comes
with the idea of adding init to BSD, other people feel very
strongly that they hate init and that it must not be in BSD.

-SB
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: [RFC, PATCH] watchdog on gpio
    ... this only gets used once in the init function ... ... writing a platform driver which means the resources are usually ... small module that merely contains additional platform resources. ... those resources declared a gpio watchdog, ...
    (Linux-Kernel)
  • Re: A few quick simple Linux questions...
    ... >It's pretty standard SysV style init. ... Slackware uses a more BSD init ... very similar, not to BSD, but to SysV R2. ...
    (comp.os.linux.misc)
  • Re: Project Ideas and a question
    ... init does allow a chroot before booting the system ... Take the hard work out of building a custom kernel] ... being implemented on one of the sibling versions of FreeBSD, ... And so having an automated installation would have to be unbelievably ...
    (freebsd-hackers)
  • Re: Re: unversal watchdog
    ... strongly that they hate init and that it must not be in BSD. ... for restarting the programs. ...
    (freebsd-hackers)