path: root/miscutils/watchdog.c
Commit message (Collapse)AuthorAgeFilesLines
* usage.c: remove reference to busybox.hGravatar Denis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* move everything to new NOMMU helpers, except udhcpGravatar Denis Vlasenko2007-03-261-12/+3
* NOMMU re-exec trick shuld not depend on existence of "don't daemonize"Gravatar Denis Vlasenko2007-03-241-3/+5
| | | | | option for every affected applet (and dnsd, for example, don't have one). Thus rework re-exec support to not require it. Code got smaller too.
* watchdog: don't use static variableGravatar Denis Vlasenko2007-03-141-9/+9
* suppress warnings about easch <applet>_main() havingGravatar Denis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* attempt to regularize atoi mess.Gravatar Denis Vlasenko2006-10-081-2/+2
* getopt_ulflags -> getopt32.Gravatar Denis Vlasenko2006-10-031-2/+2
| | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateGravatar Rob Landley2006-08-031-7/+2
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* fix watchdog on no-mmu systems by adding -F option for rexecGravatar Mike Frysinger2006-06-261-2/+9
* initial support for no-mmu systemsGravatar Mike Frysinger2006-06-071-0/+4
* hint at where the Magic comes fromGravatar Mike Frysinger2006-06-071-1/+1
* - no need to have timer_duration in the data section.Gravatar Bernhard Reutner-Fischer2006-06-031-7/+4
| | | | - cleanup a little bit while at it.
* - move #include busybox.h to the very top so we pull in the configGravatar Bernhard Reutner-Fischer2006-06-031-1/+1
| | | | and eventual platform specific includes in early.
* - patch from Denis Vlasenko to add and use bb_xdaemon()Gravatar Bernhard Reutner-Fischer2006-04-121-2/+1
* - add some ATTRIBUTE_UNUSED.Gravatar Bernhard Reutner-Fischer2006-01-301-1/+1
| | | | - use shorter boilerplate while at it.
* just whitespaceGravatar Tim Riker2006-01-251-1/+1
* Rob Sullivan sent in some cleanups, which I beat on slightly.Gravatar Rob Landley2005-10-281-26/+8
* Remove trailing whitespace. Update copyright to include 2004.Gravatar Eric Andersen2004-03-151-1/+1
* Paul Mundt <lethal@linux-sh.org> writes:Gravatar Eric Andersen2003-07-221-11/+43
| | | | | | | | | | | | | | | | | Here's a bunch of fixes for the watchdog app in busybox. This does a couple of things: - configurable timer duration (userspace timer duration is usually configurable within the device drivers themselves). - run as a daemon - shutdown the device properly on SIGINT or SIGHUP - clear the counter immediately instead of sleeping first as well as updating the usage information. This has also been switched over to getopt to deal with the optional timer duration specifier. The changes themselves are harmless and isolated, and I've veried that this works on sh and x86 without any problems.
* Major coreutils update.Gravatar Manuel Novoa III2003-03-191-2/+2
* Patch from Jeff Garzik marking a few 'getopt not needed' apps.Gravatar Eric Andersen2001-03-091-0/+2
* It turns out that DODMALLOC was broken when I reorganized busybox.hGravatar Eric Andersen2001-02-201-1/+1
| | | | | | header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
* This patch, put together by Manuel Novoa III, is a merge of workGravatar Eric Andersen2001-02-141-1/+1
| | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
* Fix header file usage -- there were many unnecessary header files included inGravatar Eric Andersen2001-01-271-0/+2
| | | | | | | busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik
* Add in spoon's watchdog timer app.Gravatar Eric Andersen2001-01-251-0/+45