diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-07-22 07:39:18 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-07-22 07:39:18 +0000 |
commit | cde8f53c6054d35e1ec327bb2952aebeadc9ae48 (patch) | |
tree | 819a67150ee269aa34b58b8189f190e8ab5a8cb5 /init/halt.c | |
parent | 592ebd507a444a69e6d0f2183060fbb1c795eac4 (diff) | |
download | busybox-cde8f53c6054d35e1ec327bb2952aebeadc9ae48.tar.gz |
Paul Mundt <lethal@linux-sh.org> writes:
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.
Diffstat (limited to 'init/halt.c')
0 files changed, 0 insertions, 0 deletions